I am learning Android. I have a problem and I can\'t solve it. I want to retrieve data from an existing database and display it in a TextView after click button
TextView
First cast your Edit text like this:
TextView tekst = (TextView) findViewById(R.id.editText1); tekst.setText(text);
And after that close the DB not befor this line...
myDataBaseHelper.close();