Package SQLITE DB with my app

I created a SQLite database on my computer. I have imported it into the assets folder in the project directory. How can I access it from my Android application?
Use Java I/O to copy it to the database directory (getDatabasePath()). At this point, you can use normal Use it like a database. It is impossible to use it within the asset itself.

I created a SQLite database on my computer. I have imported it into the assets file in the project directory Folder. How can I access it from my Android app?

Use Java I/O to copy it to the database directory (getDatabasePath()). At this point, you can use it like a normal database. Using it within the asset itself is Impossible.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 951 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.