[android-developers] Re: GPS vs Network
yes, if you register your location listener for both sources you will get data from both. That data will contain the accuracy information so you can decide which one to use. if you unsubscribe from the GPS location service then I would expect the lastknownlocation to be fed from the network location service. -- 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: GPS vs Network
I agree - thanks. I ended up testing that last night and you are right. SO I check first for the most accurate info (if gps is enable) and if not there I get the next available which is the network. On Aug 25, 11:28 pm, lbendlin wrote: > yes, if you register your location listener for both sources you will get > data from both. That data will contain the accuracy information so you can > decide which one to use. > > if you unsubscribe from the GPS location service then I would expect the > lastknownlocation to be fed from the network location service. -- 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: GPS vs Network
You might have seen this, already, but there is really excellent documentation on just how to do this, right here: http://developer.android.com/guide/topics/location/obtaining-user-location.html -blake On Aug 26, 7:52 am, kypriakos wrote: > I agree - thanks. I ended up testing that last night and you are > right. > SO I check first for the most accurate info (if gps is enable) and if > not > there I get the next available which is the network. > > On Aug 25, 11:28 pm, lbendlin wrote: > > > > > > > > > yes, if you register your location listener for both sources you will get > > data from both. That data will contain the accuracy information so you can > > decide which one to use. > > > if you unsubscribe from the GPS location service then I would expect the > > lastknownlocation to be fed from the network location service. -- 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