android - Fetch data in Json array and send it to server -


i developing android application fetch data in j son array. want send said json array mysql database on server.

db.open();      arraylist<hashmap<string, string>> arraylist = db.record();     gson gson = new gson();    string jsonpesan = gson.tojson(arraylist);   db.close(); 

you need make web-service ,you can post data server using webservice.

how send data mysql db without using jdbc , php or other webservice?


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -