It looks like you're new here. If you want to get involved, click one of these buttons!
I want to have a search section in my application and I made an activity for that , that contains one EditText and Button that user enters the word he wants to search and when he clicks the button the word is sent to the server with POST method then it searches the database and sends back the result to the phone but the problem is that I don't get the data back on phone. I checked the POST method is working perfect so I don't know what is the problem?. Here I will paste my codes and I hope a smart guy finds what I have done wrong.
it generates this error :
: error in AdsParser inparse () ->org.json.JSONException: End of input at character 1 of
Here I attach the PHP file and also the java class by which I do searching.