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. ------ 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.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.