====== News ====== [TWITTER:USER:phpforandroid:5] follow us on Twitter ====== Introduction ====== #;; [[http://phpforandroid.net|{{:pfa_pfaewok_logo.png|}}]] #;; **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 [[http://en.wikipedia.org/wiki/APK|APK]] which provides PHP support to SL4A (PhpForAndroid.apk) and we're working in a [[manual:en:index|manual]]. [[http://www.irontec.com|Irontec]] is the company behind this project. [[about|About this project]] [[manual:en:index:faq|FAQ (Frequently Asked Questions)]]
Phpforandroid en
View more presentations from ivmos.
===== Getting help, getting involved =====
Google groups
Subscribe to PhpForAndroid discussion group
E-mail:
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). ====== PhpForAndroid-APK ====== [[http://code.google.com/p/android-scripting/|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. [[screencast|Screencasts]] ===== Requirements ===== min: Android OS 1.5 (phone or [[http://developer.android.com/guide/developing/tools/emulator.html|emulator]]) Enable "Unknown Sources" under Application settings. ==== Install SL4A (Android Scripting Environment) ==== ~~BARCODE~class=barcode_left~url=http://android-scripting.googlecode.com/files/sl4a_r3.apk~size=S~~ [[http://android-scripting.googlecode.com/files/sl4a_r3.apk|Download SL4A]] SL4A only comes with a shell interpreter by default. ===== Install PhpForAndroid.apk ===== ~~BARCODE~class=barcode_left~url=http://php-for-android.googlecode.com/files/phpforandroid_r1.apk~size=S~~ [[http://php-for-android.googlecode.com/files/phpforandroid_r1.apk|Download latest release]] ([[releases|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 ===== Getting started ===== SL4A **Api**Reference is your friend : http://code.google.com/p/android-scripting/wiki/ApiReference ==== The real time ways (no more install, no SDK, nothing required) ==== ==== 1. Add/Edit PHP scripts on your mobile ==== SL4A allows you to add or edit scripts on your mobile. ==== 2. Use testnow.php ==== "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": TODO Tell about remote, using SDK... ====== How to distribute your PHP script as APK ====== http://code.google.com/p/android-scripting/wiki/SharingScripts ====== Manual ====== We're working in a manual with all this information and more: [[manual:en:index|manual-en]] ====== Screencast ====== Check out our [[screencast|screencasts]] for easy installation on your terminals. ====== Problems? ====== 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~~