Hi, I noticed that for GPS LocationManager hasSpeed() will return false on Nexus 1 with 2.2, but if you ignore this and get the speed value anyway, it will be non zero ( positive ) if you have a current GPS fix and your phone is actually moving...
Maybe it is just an issue with hasSpeed() giving erroneous false ? See this post for example code - http://groups.google.com/group/android-developers/browse_thread/thread/84d664f7b48b06d6/12b0e3d759dc0de3 Regards On Jul 6, 10:46 am, tarek attia <[email protected]> wrote: > T-mobile G1,,plus the emulator the same case > > > > > > On Tue, Jul 6, 2010 at 3:32 AM, Mark Murphy <[email protected]> wrote: > > On Mon, Jul 5, 2010 at 8:21 PM, tarek attia <[email protected]> > > wrote: > > > I'm using LocationManager.getspeed(); and everytime I use it it comes to > > > with location.hasSpeed=false ,and the speed is zero ? > > > So is this something related to ANdroid bugs or this provider doesn't > > > support speed ? > > > What device are you testing this on? > > > -- > > Mark Murphy (a Commons Guy) > >http://commonsware.com|http://github.com/commonsguy > >http://commonsware.com/blog|http://twitter.com/commonsguy > > > _The Busy Coder's Guide to Android Development_ Version 3.1 Available! > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<android-developers%2Bunsubs > > [email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > tarek -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

