In my android application, I am copying the sqlite database file to "data/data/com.mypackage/databases"
at runtime.
I am using ormlite for database operations, but I'm not able to perform any databse operation (e.g. insert, retrieve, delete) because it is not getting any tables from the sqlite file.
However, when I copy that file in my SDCard everything works fine. I have verified that the file gets really copied in "data/data/com.mypackage/databases"
, which is the case.
Does anybody have any idea about how to read sqlite file stored in data/data directory using ormlite in android application?