I want to send a string from Android to a mysql database using json. In a .php file I use $_POST to take values from Android. And in Android, I heard that it can be done through AsyncTask. Can anyone please tell how to do it using AsyncTask?
Asked
Active
Viewed 1,561 times
2 Answers
1
Did you check this Answer? Use this along with AsyncTask which MT8 suggest you.
Also refer this one.
Community
- 1
- 1
Hardik Joshi
- 9,427
- 12
- 60
- 113
-1
First Search on Google: There are Many Question and Answer Same as Your Question:
On Google : Click to Search
This will help to you : How To Make HTTP POST Request To Server - Android Example
Community
- 1
- 1
Pratik Butani
- 56,749
- 54
- 254
- 407