How can I create an Android client to access my PHP page?
Source: Internet
Author: User
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 ., 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 ., Sending a Json request, I am also working on an Android client that can be used to access my own PHP page. how can this problem be achieved?
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.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.