In SQlite how can I say if a row exists update it else createEntry? basically I want to have a table with single row and update it whenever single button pressed or so.
entry.open();
if(the row already exist)
entry.updateContact(1, Double.toString(db1), Double.toString(db2), Double.toString(db3));
else
entry.createEntry(Double.toString(db1), Double.toString(db2), Double.toString(db3));
entry.close();