How to retain the last searched position

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

How to retain the last searched position

Postby ndroid » Thu Dec 18, 2008 2:16 pm

HI
if i search for a location, then does the Location manager stores the geopoint as the last known fix?
if not then how to retain this information, so that when the user opens the application next time application shows him the last seacrhed location?
regards
ndroid
Junior Developer
Junior Developer
 
Posts: 15
Joined: Mon Dec 15, 2008 1:29 pm

Top

Postby dmt » Thu Jan 08, 2009 2:01 am

Create a database entry for your data.

This link should help in getting you started with creating/using Android's SQLite db :
http://learncodes.googlepages.com/contact
User avatar
dmt
Junior Developer
Junior Developer
 
Posts: 15
Joined: Mon Jan 05, 2009 6:06 am

Postby dmt » Thu Jan 08, 2009 2:15 am

Better yet, see here for db code examples using latest Android version;

http://apps-for-android.googlecode.com/ ... vider.java
User avatar
dmt
Junior Developer
Junior Developer
 
Posts: 15
Joined: Mon Jan 05, 2009 6:06 am

Top

Return to Map Problems

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest