Re: [android-developers] Get Geopoints from SQlite DB

2011-08-19 Thread Alaeddine Ghribi
And is there any example please to follow this steps? Like that i'll never make it. 2011/8/19 Mark Murphy > Step #1: Pass a Cursor to your ItemizedOverlay that contains your > coordinates, retrieved from your database > > Step #2: Implement size() in your ItemizedOverlay to return getCount() > f

Re: [android-developers] Get Geopoints from SQlite DB

2011-08-19 Thread Mark Murphy
Step #1: Pass a Cursor to your ItemizedOverlay that contains your coordinates, retrieved from your database Step #2: Implement size() in your ItemizedOverlay to return getCount() from the Cursor Step #3: Implement getItem() in your ItemizedOverlay to moveToPosition() on the Cursor, read out the l

[android-developers] Get Geopoints from SQlite DB

2011-08-19 Thread Alaeddine Ghribi
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(co