Android get last known position of Google Maps
When the user opens up Google Maps on their phone, it immediately shows the position at which it was left during the last use. What I'd like to do is "steal" the last known position of the map from the Google Maps program that comes with the phone, and position the map in my program that way. I do not want to use the location feature. Is there any way to do this?
Any help i开发者_如何学Cs appreciated, thanks.
-tjw
You still need to ask for permissions, but Android 2.2's passive provider is supposed to return results from other providers without using the actual GPS or network itself, allowing you to piggyback of the results from Google Maps.
精彩评论