2

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 certain activities). Any help would be great!

2 Answers 2

3

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Server should be visible in public network - it has to have public IP.
0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.