i want to get data from mysql and post it to android.as i search there is not Date and Time field in android.i have to save it to sqlite database and keep it for next update.in next update i get the sqlite Date and check on mysql database and its hows i find out is there new post or not.
. how can i get the data in the below loop:
for (int i = 0; i <count; i++)
{
JSONObject json_data = jArray.getJSONObject(i);
temp +=
"Name : " + json_data.getString("name")+ "\n"+
"Lastname : " + json_data.getString("lastname")+
date : " + //the DateTime "\n";
}
Aucun commentaire:
Enregistrer un commentaire