How can I use an Android client to access my own PHP page? I want to write an Android client and run it on my computer using a simulator, you can access the php page that runs on the same computer. how can this problem be achieved. ------ Solution ------------------ configure a web service on your machine and use php to write an interface. Then, send an http request to this interface address on the Android client. ------ Solution -- how can I implement an Android client to access my own PHP page?
I want to write an Android client. after running it on my computer using a simulator, I can access the php page that runs on the same computer. how can I implement it.
------ Solution --------------------
Configure a web service on your machine and use php to write an interface. Then, send an http request to this interface address on the Android client.
------ Solution --------------------
Send Json request
------ Solution --------------------
I am also working on similar products. Provide my ideas. php is used as the backend and mysql is used to store data. Android front-end uses the phonegap integrated with dw5.5 or dw6 to generate an Android apk (converted from web to apk). Android apk uses ajax to contact the php background. Of course, the apk developed by dw5.5 is based on html5 and jquery mobile.