Packaging SQLite DB With My Application
I have created a SQLite database on my PC. I have imported it into my assets folder in the project directory. How do I access it from my Android application?
Solution 1:
Copy it into your database directory (getDatabasePath()
) using Java I/O. At that point, you can use it like a normal database. It is impossible to use it from within the assets themselves.
Post a Comment for "Packaging SQLite DB With My Application"