I am developing an Android application in which all data come through PHP web service. Now I am confused that how to do this. Which web service(ksoap,soap,rest,etc) I should develop in PHP so that when I call that web service in Android it is light-weight? And what things I Need to do for this type of application? Also currently I am making application locally so PHP will get data from mysql database. Please suggest which web service I should develop. How do I call it in Android application? Also I want to know that is there anyway that I can develop web service in Android itself because I have only static data to pass and might be 2 or 3 data in will be needed to enter.
Share
As you need small data and that is also locally, so better to go for REST as it doesn’t need any extra stuff like KSOAP or anything else.If distributed environment is there, then SOAP is better.In your case i think REST is good.
Here is an link you can check.