In My database I want to retrieve a row from my database . For this I write a query :
Cursor mCursor = db.query("Author_table", column_name, "Author_name=?" , params, null , null , null) ;
By this I want to do the following query : “Select AID from Author_table where Author_name = Sultan” . But I have got anexception in SQLiteDatabase in android . Please suggest me what to do ??
Something like this should work:
EDIT
SQLOpenHelper