[android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?
You can get location from NETWORK_PROVIDER which can be calculated
from cell towers or WiFi AP.
The first one works almost always but the accuracy is not good
therefore you may get the same location for quite a long time.
All you need to do is to replace GPS_PROVIDER with NETWORK_PROVIDER.
On Jan 11, 8:13 pm, darrinps <darri...@gmail.com> wrote:
> All the examples I see use GPS, and I have that working just fine but
> I've noticed that every time I'm in a car, that unless the phone is
> close to a window or the windshield the GPS does not work so...
>
> I thought that there should be a way using course grained location
> between cell towers. Does anyone know if this is possible and if so
> might know where I could find some sample code please?
>
> Thanks!
>
> Darrin
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home