PHP android application

Dear all

i am a php web developer

i made a full php website with mysql database

and i want to make an appliation to run on android phones. i want to display all my website data (i already made android version for my website)

my problem is that i dont know how to connect to my website using an android application…

for example:facebook is made by PHP but it has an application that runs on android mobile

any idea

Hi

Well, the only way to do that is for you to code up and api web service. Which will return either XML or JSON. The your mobile application with make http requests to said service and parse the response and do whatever it is that you want with it.

Good luck

Are you trying to create Android App with PHP?

If your website is based on database MySQL then you can easily connect any app :slight_smile: