How can i retrieve the sql statement from a cursor, something like the code below:
Cursor cursor = AppController.getDBO().rawQuery("SELECT * FROM tbl_name", null);
System.out.println(cursor.getSQL()?
There is no way, as a Cursor may be a non-SQL Cursor like MatrixCursor.
A way to do it would be to follow those steps :
sqlStatement
Yes, it's a bit complicated, but it's the only way I know.