I create my first mobile app in Xamarin Forms. As I'm a C#.NET developer, I was thinking straight forward methods to manage with databases.
I have a pre-loaded database "MyStoryTitles.db3", and I just want to show the contents.
My thinking was to:
- store the db3 file in a folder named Data
- connect to the file
- use list view to show the content
But when I researched, I came to know that we cannot do the SQLite in straight forward methods. What I understood from the online articles that I have to:
- store the db3 file as Asset ( for Android)
- copy the file prior opening it ( as shown here)
- connect to the local copied db
- use list view to show the content
Is this the standard procedure ? Or can I store the db3 file as EmbeddedResource and do the database operation as normal ?