[android-developers] Get Geopoints from SQlite DB
I created an SQlite database to store on it all latitudes and
longitudes to display them in map. For the add of the values i didn't
encouter any problem, i used this code:
CoordBD CoordBd = new CoordBD(this);
Coordo coordo = new Coordo(36.869686,10.315642 );
CoordBd.open();
CoordBd.insertCoordo(coordo);
But i don't know how to insert them one by one in map, i usually/
manually make this:
GeoPoint point2 = new
GeoPoint(microdegrees(36.86774),microdegrees(10.305302));
pinOverlay.addPoint(point2);
How to browse all the database and add all the Geopoints
automatically?
Thank you.
--
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home