On Mon, Oct 17, 2011 at 2:57 PM, Ab Caballero <[email protected]> wrote: > is there someway I can grab data > once a minute for the vehicle location but also grab a location fix > when a certain key is pressed?
Call getLastKnownLocation() when the key is pressed. Though, if this is to be used by drivers, I assume that by "key" you mean "really huge on-screen button that can be readily pressed without the driver having to look at the device". :-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 4.0 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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

