Skip to content Skip to sidebar Skip to footer

Post Method From Android Doesn't Work

So, I'm trying to make a login activity. It uses database from mySql so I made a php webservice 1login.php. Then I have a JSONParser class with method makeHttpRequest(url,method,pa

Solution 1:

First thing first. We need a more specific information then " it just does not work"

Things you need to do.

1) Use a great tutorial. I strongly recommend this one.

2) before you check your code make sure your php works. There is a GREAT! tester called POSTman. Test your php code with it.

3) organize your classes better. you should make (like the tutorial I posted does) a useractions class that handles the web calls and calls to the JSON class you create.

with those three things you be able to debug your code and then give us a more specific problem that the community will most likely be able to assist you with.


Post a Comment for "Post Method From Android Doesn't Work"