Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int numberOfPlaces()
- {
- SQLiteDatabase db = getReadableDatabase();
- String[] columns = new String[] { LATITUDE, COLUMN_ID };
- Cursor c = db.query(PLACE_TABLE_NAME, columns, columns +"IS NOT NULL ", null, null, null, COLUMN_ID);
- return c.getCount();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement