Make listview from SQLite database

后端 未结 2 2118
小蘑菇
小蘑菇 2021-01-25 06:04

I\'m trying to populate listview from my SQLite database... this is how I get my data from database:

    Cursor c = database.rawQuery(\"SELECT * FROM \" + TableN         


        
2条回答
  •  灰色年华
    2021-01-25 06:26

    I found working with the notepad tutorial very useful for learning about this. It shows you how to implement the listview using the sqlite database in very easy steps.

    http://developer.android.com/resources/tutorials/notepad/index.html

提交回复
热议问题