I am creating one android application using eclipse & emulator. I want to open php web pages from localhost when i click on button on one of my activity. We have our website but it is not hosted yet. When i click on button it goes to browser -> Google search engine & there it searches php pages. But those pages are present at localhost. So help me to open localhost php pages from android activity??

All suggestions are welcome !

Recommended Answers

All 2 Replies

Have you tried connecting to the external IP address of your machine? You may need to set up port forwarding on your router.

How can i code to connect to external IP address in android application? M trying to enable wifi in emulator. But its not working.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.