save - How to have lots of data in android app -


I want to write an Android application that contains a lot of data. For example, I have approximately 30 categories, each category There are about 50 items and each item has 10 text pages and 5-8 images.

I want my app to work offline and do not require an internet connection.

What is the best and safest way to do this?

You must use the SQLite database The best way to keep a large amount of data in order to keep the database structured is to keep all your text in the data table. You can put images in pictures in the form of blob or insert images in the property folder and the database image Can store the path.

Simply create a synchronized database with all the necessary data on your PC and then attach it to your Android app. You can find many information easily to work with Android in SQLite.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -