best way to get the data from the database
source link: https://www.codesd.com/item/best-way-to-get-the-data-from-the-database.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
best way to get the data from the database
I was designing the classified app in android which takes the data from the db hosted at run time. I have designed it and it is working fine but it is very slow as application has to fetch the data from the server and which take much time. I want to reduce the time by some way that user get the data immediate and also can get the data offline with out internet.
Can any one suggest me the best way for store the data in the mobile app or any other way? can i create a xml and store it on user mobile?
Please let me know.
thanks in advance. itin
One way is to do this by ContentProvider.
Another way is to use a framework like ORMLite, an Object Relational Mapping.
Related Articles
What is the best way to get related data from their ID in a single query?
The best way to get Javascript data from a single 3-row CSV
Java EE and Entity: best way to get the results of a DB
The best way to get the IP address of the machine control Ansible
In Java, what is the best way to get the last 250 characters of a string?
The best way to get the image data for processing
What is the best way to get the I / O from another console program in Perl?
ASP.Net MVC 3 - What is the best way to get the username logged in the repository?
The best way to get the GPS location of the user in the background in Android
The best way to get the longest sequence of some numbers in a whole number
What is the best way to get the minimum or maximum value of a table of numbers?
What is the best way to get the total execution time of the Node.js application?
Best way to get the identity of the inserted row?
The best way to get the result of activity in Android API & lt; 16
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK