G
G
gflower2011-10-07 12:16:19
Android
gflower, 2011-10-07 12:16:19

An Android application must download data from the network. Where to place them and how to transfer?

I am developing an application for Android. It must download text content from the web in order to display it later. Content will be periodically supplemented or updated.
Where and how best to organize the storage of such data on the network? In what form should they be given to an Android application?
The first thing that comes to mind is this option:
1. The content is stored as static XML on some hosting.
2. The application receives XML via HTTP, parses it, updates the local database and displays the result . The
minus is immediately visible: every time the entire content is sent, which is not optimal.
What will be the ideas?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bagyr, 2011-10-07
@bagyr

1) Store content on a web server in a database. Somehow take the date of the last update from the device and give back a dynamically generated delta.
2) Updates should be represented as static separate xml files with the date somehow encoded in the file name, the device itself takes only what it needs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question