¡@

Home 

2014/10/16 ¤W¤È 08:17:23

android Programming Glossary: key_longitude

Deleting Row in SQLite in Android

http://stackoverflow.com/questions/7510219/deleting-row-in-sqlite-in-android

new to SQLite and I can't seem to figure this out. I have 1 table that has columns KEY_ROWID KEY_NAME KAY_LATITUDE and KEY_LONGITUDE. I want the user to be able to select one and delete it can anyone give me a direction to start in My question is in the.. static final String KEY_NAME beacon_name public static final String KEY_LATITUDE beacon_lat public static final String KEY_LONGITUDE beacon_lon private static final String DATABASE_NAME BeaconDatabase private static final String DATABASE_TABLE beaconTable.. name Double lat Double lon ContentValues cv new ContentValues cv.put KEY_NAME name cv.put KEY_LATITUDE lat cv.put KEY_LONGITUDE lon return db.insert DATABASE_TABLE null cv public void deleteEntry long row Deletes a row given its rowId but I want to..