-1

Is there a method to add predefined SQLite database into user's phone when the app is first installed

Thank you

Pavan Varma
  • 1,199
  • 1
  • 9
  • 21

1 Answers1

0

I think you have a few options here depending on the database size.

If it's not really big, you can create it on the first run, and initialize it from the code with the insert method.

If it's decent, you could attach it to the APK.

If it's really big, the previous method would make your APK weight a lot, in this case, I would suggest you download it on the first run.

Community
  • 1
  • 1
JonZarate
  • 841
  • 6
  • 28