How do I port my application to OS X?

Easiest way to port a PHP Web App to Android?

  • We have a LAMP stack-based web application which we have built on a proprietary framework and have been running for several years. It also makes extensive use of AJAX and CSS. I would like to port it over to run as a stand-alone application on an Android smartphone or tablet and re-use as much of the original code as possible. We can port the db schema to SQL-Lite so no problem on the db end. Is there some LAMP-like server for the Android OS? something which will allow our web app to run as a standalone system ? We can run on 3.0 and above, no need for backward integration. Any help would be appreciated!   :)

  • Answer:

    Trying to put an entire LAMP stack on android is probably a poor fit.  If building the app as a native Android java app isn't an option for you, perhaps you could look into rewriting your front end as a single page JavaScript app that only communicates with your server via AJAX. You could then wrap it in PhoneGap to create a distributable android app.

Jarvis Badgley at Quora Visit the source

Was this solution helpful to you?

Other answers

There is PHP for Android project that you can use for that, but I am afraid you would not reuse much of the original front-end code. http://phpforandroid.net/ I think that for developing native applications for mobile devices, you would better do it with frameworks like Appcelerator Titanium, which allow you to develop apps with JavaScript, HTML and CSS. It can make your application run not only on Android but also IOS, Blackberry, etc.. http://www.appcelerator.com/products/titanium-mobile-application-development/

Manuel Lemos

For creating android apps, we've native development / hybrid development techniques. I'm explaining you about hybrid development (http://phonegappro.com)For Connecting with MySQL Database, you need to create a web service using PHP or ASP or JSP for generate JSON based outputs. Create MySQL Database Create Web Service (JSON based) using PHP Use JQuery / Angular JS for post / get data from web service you can follow this link http://phonegappro.com/tutorials/phonegap-php-mysql-example/ for more

Sundara Vel

Hello,First publish your website and ,try to make app your website using webview concept.Whenever i build website i am using DIY Website for checking how application looks like ,I am using  http://gohybrid.xyz/ may be it useful to you .it will convert website to application and send you mail.

Wesearch Foru

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.