Access Sqlite Database Using JayData for Android / Phone Gap

I have an Android app that uses the SqLite database. Now I want to create the same application using Phone Gap. I need to use Jaydata to connect to the same Sqlite database. I looked through the documentation, but could not determine where to place the database file so that it could be accessed from my application.

+4
source share
1 answer

You do not need to place the database in a specific folder, JayData will create it for you (this is a supported method). Additional information in the topic - Request in JayData You can add an init mechanism that recognizes the first application launch and inserts the records you need into the database - for example, from a file.

0
source

Source: https://habr.com/ru/post/1489518/


All Articles