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