I have a problem with AsyncTask. I want to send a query several times to my remote server, but it gives me an error every time and only one line is sent. Here is my code snippet
// I take the history in the local base
List historical <Historique> historiqueDAO.findAll = ();
HistoriqueTask historiqueTask HistoriqueTask = new (this);
for (Historical Background: Historical) {
// Request to remote server
historiqueTask.execute ("addHistorique" + historique.toURI ());
0 comments:
Post a Comment