Page 1 of 1

Pre-loaded local SQL Lite Database in App

Posted: Thu Mar 20, 2014 7:37 pm
by Andy Parker

Is it possible to included a pre-loaded local SQL lite database in my app?

Currently I preload hundreds of local storage variables with links to allow my app fast access when running.

However, the down side of this is that on the first run it has to create all of these local storage variables and on slower devices (eg windows mobile and early android) this can take some time to do, spoiling the user experience.

So, to avoid this, I'd like to build a SQL lite database, fill it during development, and then include this with the app for release.

Is this possible? If so, how would I go about this?

many thanks

Andy.


Pre-loaded local SQL Lite Database in App

Posted: Thu Mar 20, 2014 7:47 pm
by Andrey Savitsky

and create Local storage variables: id.


Pre-loaded local SQL Lite Database in App

Posted: Thu Mar 20, 2014 8:16 pm
by Maryna Brodina

Hello!
You can store sql commands in file and while first app load restore them. You can search for any other way, for instance http://gauravstomar.blogspot.com/2011...


Pre-loaded local SQL Lite Database in App

Posted: Thu Mar 20, 2014 8:43 pm
by Andy Parker

Thanks for the pointers Maryna, I'll have a read.

regards

Andy.