Reading data from Sqlite Database in android application.

前端 未结 1 352
再見小時候
再見小時候 2021-01-23 08:59

I am trying to read data from a database. I imported the database in the sqlite manually and now just want the connection made in android application and want to re

1条回答
  •  野的像风
    2021-01-23 09:31

    If you are importing the database then why are you extending SQLliteopenhelper class that is used to create the database. To use the existing data you need to use other class provided in android.. refer to below link may be helpful to you http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html

    0 讨论(0)
提交回复
热议问题