开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜