user3560339
user3560339

Reputation: 1

when internet connection is lost how do store the data in a list and resend

I am trying to post data on to the server from my android app.if connection is lost between server and client i need to store these values into a list and resend these values by continuously trying for a connection .

Upvotes: 0

Views: 148

Answers (1)

Kosh
Kosh

Reputation: 6334

You could use sqlite to store this data and then use AsyncTask doInBackground() to try to check for internet connection and to send this data back to ur server.

Upvotes: 1

Related Questions