you need to return random text by clicking from name in sqlite, put in textview. Fumbled in the internet, nothing comes out. Prompt how to register it, after the reference to a DB through the cursor. Or there may be another way. Thank.
case R.id.btn_text: Cursor c = db.query("mytable", null, null, null, null, null, null); } // закрываем подключение к БД dbHelper.close(); }
order by random() limit 1does not fit? (the first that Google gives out) - Mike