Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I write an android app.

The user sends the server its location and get places relevant to him.

He then can up-vote or down-vote any offer.

I wonder if I should write to local DB and when?

I connect via fb only.

As I see it, there is nothing i should save in local DB

performance wize it's better to save and prosess anything at the server side.

And also in a local memory (per application session).

Any idea what should I save in local DB to be more efficient and to last more than one session (and shouldn't be stored in the server only) ?

share|improve this question
    
Saving of info locally depends on your requirement of app. Are you always connected to server and fetching the offers for user to vote up or down, or just getting a connection to server when user launches the app? –  Sandeep Pareek Mar 19 at 14:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.