开发者

connect app to php server on localhost

开发者 https://www.devze.com 2023-02-26 19:00 出处:网络
how can i connect an android app (on my phone) to a php server (EasyPHP) that i am running on my machine (localhost). Are there any tutorials out there that document this.

how can i connect an android app (on my phone) to a php server (EasyPHP) that i am running on my machine (localhost). Are there any tutorials out there that document this. I need to test the app on an actual phone not an emulator (because the emulator contains bugs for certa开发者_如何学Pythonin activities). Any help would be great!


If you connect on your Android with WiFi, you will be in the same network, then you can access PHP server via your machine's IP address.


Ys you connect to the php script...

Android allows you to sent data in GET and POST method.. I found a useful tutorials about this: Android phpMysql connection

0

精彩评论

暂无评论...
验证码 换一张
取 消