Display database data into a table layout or into textviews
Hey guys, Im nuew to and开发者_运维技巧droid but struggling with databases.
How would i retrieve data from my database and put it into a table or textview
You use Cursor and SQLite driver.
If you are struggling, then start doing the tutorials provided by google, particularly you might want to look at notepad tutorial. Start simple.
Use SQLiteOpenHelper. It provides getReadableDatabase() and getWritableDatabase() .these returns SQLiteDatabase.
精彩评论