PHP for Android project (PFA) aims to make PHP development in Android not only possible but also feasible providing tools and documentation.
We currently have an APK which provides PHP support to SL4A (PhpForAndroid.apk) and we're working in a manual.
Irontec is the company behind this project. About this project
FAQ (Frequently Asked Questions)
|
|
| Subscribe to PhpForAndroid discussion group |
| Visit this group |
Issue tracker (problems and feature requests) : http://code.google.com/p/php-for-android/issues/list
Besides, a few wiki pages have a comment system at the bottom (this one e.g).
SL4A (Android Scripting Environment) is a Google-mantained project which “brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device”.
PhpForAndroid-APK provides PHP support to SL4A.
min: Android OS 1.5 (phone or emulator)
Enable “Unknown Sources” under Application settings.
~~BARCODE~class=barcode_left~url=http://android-scripting.googlecode.com/files/sl4a_r3.apk~size=S~~
SL4A only comes with a shell interpreter by default.
~~BARCODE~class=barcode_left~url=http://php-for-android.googlecode.com/files/phpforandroid_r1.apk~size=S~~
Download latest release (Releases page)
Once installed, run it and tap on “Install”.
The PHP binary and the scripts will become available to SL4A.
Now!, run SL4A. You should be able to see PHP demo scripts and they should work!.
Doesn't it work? Please, try uninstalling and installing again (this is alpha software).
Still not working? Fill this survey please: http://www.zoomerang.com/Survey/WEB22AXDHRY8L5
SL4A ApiReference is your friend : http://code.google.com/p/android-scripting/wiki/ApiReference
SL4A allows you to add or edit scripts on your mobile.
“allow_url_include” is On by default so you can include your code easily.
Include your own internet publicly available script. You'll find an already installed php script called “test.php”:
<?php
require_once("Android.php");
include("http://phpforandroid.net/files/testnow.php.txt"); // ".txt" extention required to prevent parsing
TODO Tell about remote, using SDK…
We're working in a manual with all this information and more:
Check out our screencasts for easy installation on your terminals.
Fill the following survey: http://www.zoomerang.com/Survey/WEB22AXDHRY8L5
or leave a comment with the following info: brand, model, android version and a brief text with the problem.
or join the pfa group and tell us.
~~DISQUS~~