jeudi 20 août 2015

How to upload data from SQLite to server in background when it will connect to Internet

I have certain set of records(data) in SQLite My aim is to upload a records(data) to server when it connects to internet and it should upload records(data) without notifying to user, And It should not upload same data twice. Now i am able to upload as soon as new data will arrive using AsyncTask.

I want to know, how the logic will works. Any suggestions or working example will be much appreciated.

Aucun commentaire:

Enregistrer un commentaire