php website for android

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

php website for android

Postby adameve24 » Fri Feb 25, 2011 5:06 pm

hi all
you people must be aware of how we code webpages in php & html and run them using wamp server on windows.
my task is to code php and html web pages and test them on emulator.
can you suggest me any server like wamp that runs on android or any other way to accomplish it.

basicaly i need to develop an e-commerce site for a company.
all the clients of that company have android phones and they will visit that website from their phone only.
so what should i do ?
develop the website using wamp only or anything else

please do reply, looking forward to hear from munificent members of anddev and i hope my post was explicable.
adameve24
Developer
Developer
 
Posts: 29
Joined: Wed Dec 15, 2010 12:32 pm

Top

Re: php website for android

Postby mitutitu » Sat Feb 26, 2011 1:17 pm

Hello adameve24,
If you're developing your site using local server (e.g., WAMP,XAMPP) then you can test it on android emulator. In that case you have to change your url format.

you use the url on PC browser :
Code: Select all
http://localhost or http://127.0.0.1


But for android emulator browser you need to use this :
Code: Select all
http://10.0.2.2


hope it will help :)

Thanks,
mitu
Android is awesome!
User avatar
mitutitu
Senior Developer
Senior Developer
 
Posts: 113
Joined: Tue Jun 09, 2009 7:40 am
Location: St. John's, NL, Canada

Re: php website for android

Postby adameve24 » Mon Feb 28, 2011 3:09 pm

thanks a lot mitu
adameve24
Developer
Developer
 
Posts: 29
Joined: Wed Dec 15, 2010 12:32 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 3 guests