I have built an android app which allows for users to save data to an offline sqlite database. Upon saving the data to the local sqlite database, the information is added to a listview. This data can then be pushed to a remote sql database hosted on xampp when a 'sync' button is clicked using AsyncTasks.
Currently I can only push one sqlite row at a time to the remote database - which is obviously not efficient. I would like to be able to have a method that would select all loans created today, and push these multiple rows to the online server.
What would be the best method to implement this?
Aucun commentaire:
Enregistrer un commentaire