PHP to Android or iOS

george.vladd37

Acquaintance
Joined
Jul 16, 2014
Messages
40
Reaction score
0
FP$
6
Is it possible to convert a php application to Android or iOS ????

For example, i have a small php application, where the user reads a story, and has some buttons.
One for next page, one for previous, and one for playing sound.

In php, this is very simple. Just a some javascript (for playing sound), and some ajax/javascript if i want all the pages navigation,
to be in the same url.

Sorry, if my question is silly, but is this possible this little thing to be converted to run in Android ????
if yes, with what software ????

Thanks in advance.
 
Yes technically you can but can't, You need to write an application for android to read json data or some sort of data of the server where the file is located.

Look on YouTube I think mybringback has some tutorials on this.

Hope this helps
 
Using PHP for Android development isn't a straightforward approach, though its possible.

Why don't you try PhoneGap instead. You can develop Android, IOS or Windows apps with just HTML, CSS and Javascript.
 
That's a great suggestion, like kavin said it can be hard and you can't use a regular PHP script.
 
Nice post , Thanks for sharing this good information , Gajdeva PHP designers will also become able to design and build mobile applications for Android..
 
kavin said:
Using PHP for Android development isn't a straightforward approach, though its possible.

Why don't you try PhoneGap instead. You can develop Android, IOS or Windows apps with just HTML, CSS and Javascript.
I agree with you
 
I've had friends who wrote mobile front ends with jQuery Mobile and then just make an Android/iOS app that is a simple browser for that specific site. You have limitations on what you can do with the app (e.g. accessing user and system info), but you are offered all the same functionality as a web application.
 
PHP is fundamentally a web language. I don't honk it makes sense to use it for writing phone apps. There are language variables which only makes sense in a web environment, and the entire language is based along a request-response paradigm which does not make much sense for a non-web application.

Anyway, I'm sure it can be done, but I recommend learning the phone's native language (Java, objective C).
 
Back
Top Bottom