[android-developers] Re: network LocationProvider

2010-12-29 Thread ip332
If the WiFi service is turned off the you will get position from the
cell tower.
If you could turn off the cell service and keep WiFi on then you get
position from WiFi (however I don't think you can turn off
phone service easily)
But you can use the location accuracy to differentiate between WiFi
and  cell-tower based location
WiFi will give you position accuracy around 50m, cell tower - more
than hundred (from my experience - 200-300m)


On Dec 29, 8:20 am, Dan dan.schm...@gmail.com wrote:
 I have a request to distinguish location sources from the network
 LocationProvider (is it cell tower based, or ip address based).

 Is there a safe rule of thumb proxy I can use to determine this
 e.g. if the phone has a cell signal it uses the cell tower because
 that is more accurate, otherwise it uses the network?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: network LocationProvider

2010-12-29 Thread Dan
On Dec 29, 9:09 pm, ip332 iprile...@gmail.com wrote:
 If the WiFi service is turned off the you will get position from the
 cell tower.
 If you could turn off the cell service and keep WiFi on then you get
 position from WiFi (however I don't think you can turn off
 phone service easily)
 But you can use the location accuracy to differentiate between WiFi
 and  cell-tower based location
 WiFi will give you position accuracy around 50m, cell tower - more
 than hundred (from my experience - 200-300m)

I think the situation imagined is in a building with good wifi
access, but crummy phone service.  I hadn't thought that wifi
would be that much more accurate than the cell tower location.

I hadn't imagined a lookup table with 50m resolution for every
wifi router in existence, I thought it was going to be more like
the location targeted banner adds that pulled your location
from your ISP.  I could also see the wifi location being updated
if you ever connect through it and have gps active, but prior to
that I'd expect a big accuracy variance.





-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en