I am copying a pre-existing database to /data/data/packagename/databases
using code learned from using-your-own-sqlite-database-in-android-applications
After copying, I recieve the following log message on opening the database:
No such table android_metadata
Do I need to create a table named android_metadata? And what the values do i need insert into this database table
Thanks very much
Actually, with a bit more reading, I have discovered that I need to use the SQLiteDatabase.NO_LOCALIZED_COLLATORS
flag when calling SQLiteDatabase.openDatabase()
- this no longer causes the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With