I am newbe to android and working on making generalised class for sql interaction
I got stuck in data retieval from database.
So far i amusing this method
Cursor ocursor = db.query(DATABASE_TABLE, columns, null, null, null, null, null);
which retrurns me cursor for retrieveing data from database
as i have mentioned above I want to make it generalised so i want schema of table from where i m retrieveing values.
is there any way to do so
suppose my table is having two columns
1) name of string type
2) age of int type
is there any way to get the data type of above mentioned table columns.
this is very urgent