Wednesday, April 27, 2011

Re: [android-developers] How can we get the mobile position (e.g. by gps) all the time?

TreKing, this just gave me an idea. How about a hybrid between GPS and accelerometer?  Keep the GPS listener running until there was no position update for, let's say, 20 periods. Then disable the GPS listener and enable the accelerometer listener. Once movement is observed, restart the GPS listener.
 
Now of course the big question is how the power consumption compares between the two...

--
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

No comments:

Post a Comment