HI
I write app that hold route information (array of GeoPoint ) for every race.
At the end of each race I want to save information about race. They may have 100-200 GeoPoints (70.22222, -20 33333), each race.
Example for one race:
70.22212, -20 33253
70.25222, -20 33463
70.26232, -20 33573
70.27242, -20 33683
.
.
Now I store this information in this array
List<GeoPoint> race = new ArrayList<GeoPoint>();
Where to save information for every race in Android (Database, internal XML ….)?
Thanks
For sharing complex persistent user-defined objects, the following approaches are recommended:
If the shared data needs to be retained across points where the application process can be killed, then place that data in persistent storage like Application Preferences, SQLite DB, Files or ContentProviders. Please refer to the Data Storage for further details on how to use these components.
You need to go with SQLite database.