Hello i am using SQLite and i have already insert all my data in to the database how can i retreive it?
this is my insert method
public void insert(String username, String password, String email) {
ContentValues values = new ContentValues();
values.put(UsersSQLiteHelper.COLUMN_UNAME, username);
values.put(UsersSQLiteHelper.COLUMN_PASS, passward);
values.put(UsersSQLiteHelper.COLUMN_EMAIL, email);
long insertId = database.insert(UsersSQLiteHelper.TABLE_USERS, null,values);
}
Aucun commentaire:
Enregistrer un commentaire