I have a php page that connects an API and takes back information that can be displayed then.
I want to convert it to an app for Android. I've heard of phonegap, which I use javascript, html, and css. I know JavaScript is capable of calling php files, but I'm sure this is possible to call a php file from another Android device. I'm not sure what the Android browser can handle php, or what to deal with them. So if you have any information about it, then I appreciate it.
I want to rewrite the API call in Javascript, but I do not think this is possible. If you think differently, please tell me what you are talking about.
Android can not talk directly to PHP, issuing HTTP requests handled by PHP scripts is.
PHP code will execute, send some data (Jason, HTML, XML, GIF, Jpg, etc ...) and reply to that HTTP request.
Comments
Post a Comment