OT: (or is it?) Linux > Android apps

Joseph Sinclair plug-discussion at stcaz.net
Sat Jul 6 11:54:21 MST 2013


I would say Android is sometimes OT and sometimes not...  In this case your question seems fairly on-topic.

As far as adapting a website into an Android app, Stephen has already mentioned that you might be better served building it up to HTML5 and using that.
There are also some pretty simple mechanisms for making an HTML5 site work as an app on Android, here's one (from StackOverflow):
	Create an Android app using the Android Studio IDE.
	Create a layout that has a <WebView> control.
	Move your HTML5 pages and JavaScript code to /assets folder.
	Load webview with URI file:///android_asset/ file.
It won't support PHP, but if you convert to HTML5/JavaScript, you're probably pretty nearly done.

If you know Java (Android Java is standard Java with some extra libraries), then creating a simple app that connects to your webservice via ReST (you did build your PHP site ReSTful, right?) but provides a "native" look and feel is not terribly hard, some UI work and about 2-3 hours of coding should be enough for a really simple app.
The new Android Studio IDE (based in IntelliJ and far smoother than the old Eclipse SDK version, but still very new and lacking some features) may be the easiest way to get started.

Android Studio is available at http://developer.android.com/sdk/installing/studio.html
It's also open source with the GIT repo at https://android.googlesource.com/platform/tools/adt/idea/

You might also want to post this on the Developer list.

Let us know how it goes.

On 07/06/2013 09:40 AM, joe at actionline.com wrote:
> Are questions pertaining to Android "OT"?
> 
> Is anyone in our PLUG community an expert in creating Android apps?
> 
> Or, what advice might anyone in this esteemed group provide regarding
> adapting a Linux-based html+php program (website) into an Android app?
> 
> 
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20130706/abd99326/attachment.pgp>


More information about the PLUG-discuss mailing list