开发者

sqlite database android

I am currently developing an application with android and I need a database.

I created a database with SQLite Manager (firefox plugin).

how I can select items from the D开发者_运维问答atabase

I read the documentation but I did not understand.

please help me.


You first need to copy the database to the proper directory, such as in this tutorial.

It will also help you extend SQLiteOpenHelper which will get you a SQLiteDatabase object.

You can then use SQLiteDatabase.rawQuery(String, String[]) to get a Cursor and start reading results.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜