3

I have seen this post which referes to private APIs to achieve what am after

Wifi strength in iPhone app

but wanted to know if there is a legal way to do this. Looked around but could not find anything yet. I hope some one can give a hint

Cheers AF

Community
  • 1
  • 1
Abolfoooud
  • 2,663
  • 2
  • 27
  • 27

2 Answers2

0

I've searched through all the relevant bits of the SDK and there is nothing. And as you know, if it's not in the SDK and you use it your app will not get approved.

Carl
  • 1,782
  • 17
  • 24
  • i downloaded Viber, for free calls over wifi, and found that they give indication of the quality of the call when the call is on going. I believe they are giving this indication based on the wifi signal strength. Maybe they have another thing sunning in the background which decides this not sure. – Abolfoooud Jul 06 '11 at 09:51
  • 1
    It is most probably judging the quality on the number of dropped packets. Again, not really an indication of the strength of the wifi connection - VOIP quality != wifi strength. – Carl Jul 07 '11 at 14:52
0

I think you can use another way instead. For example you can post a request. Calculate the time when you get the respond.

Maybe you post a request to http://stackoverflow.com And you get the respond in 1.0s, assign the wifi is very strong. In 5.0s,assign the wifi is weak.

Maybe the way is not exact but is useful. sorry for my poor English :)

Bonny
  • 2,038
  • 1
  • 14
  • 15
  • thanks for that. i came across this suggestion but thought i should just check if there is another resort :) thanks any ways – Abolfoooud Jul 06 '11 at 10:39
  • 1
    That won't tell you the signal strength of a wifi connection. It is entirely feasible that you can have a fast ping on a bad connection and a slow ping on a good connection. – Carl Jul 07 '11 at 14:50