The TextView showing `android.database.sqlite.SQLiteCursor@457436` indicates that it is using the Cursor's
(inherited/default) toString method which shows the object name and the pointer to the object.
Instead of using
yourTextView.setText(your_cursor);
(or perhaps the method that returns the Cursor e.g. yourTextView.setText(yourGetDataMethod());)
You need to do something similar to :-
your_cursor = yourGetDataMethod();
if (your_cursor.moveToFirst() ) {
yourTextView.setText(your_cursor.getString(your_cursor.getColumnIndex("your_column_name_to_get_the data_from");
} else {
yourTextView.setText("Ooops no data extracted");
}
your_cursor.close();
This moves the Cursor from the position before the first row, to the first row of the Cursor if there is a row.
and then (if there are any rows) it extracts the data, as a String, from the respective column of the Cursor.
If there aren't any rows then the TextView will display the message that indicates this.
Finally the Cursor is closed.
Note that in the absence of any indication of the names used the above uses names that give an indication of the where the name would be obtained from.
i.e. your_ indicates such a usage.
Note the above is in-principle code, it has not been run or tested and may therefore contain some errors.