Skip to content Skip to sidebar Skip to footer

Getting Error, When Retrieving Data From SQLite Database

I have created database by using SQLite Database browser . I have to follow this example. Name of the database is : jokesdatabase.sql,which has one table jokes i places this in as

Solution 1:

Don't define your DatabaseHelper as activity in your Android manifest, it is not an Activity.

Create and use your DatabaseHelper from within a Activity, just like any other class.


Post a Comment for "Getting Error, When Retrieving Data From SQLite Database"