Manual do PHP para Android (Português Brasil)

Última alteração: 22-07-10

Instalação

Instale ASE (Android Scripting Environment)

PhpForAndroid.apk precisa do ASE r26. Entretanto, r26 não foi lançado ainda (a última é r25) então nós fornecemos uma compilação não oficial do ASE. Por favor, não reporte bugs para a equipe do ASE que seja relacionada a essa versão. Contate-nos ou compile seu sua própria versão do ASE através do trunk para corrigir problemas que já foram resolvidos.

barcodeDon't have barcode reader? Click here.

Baixe nossa compilação não oficial

ASE por padrão vem apenas com um interpretador shell.

Instale PhpForAndroid.apk

barcodeDon't have barcode reader? Click here.

Baixe a última versão (Página de versões)

Uma vez instalado, execute-o e clique em “Install”.

O PHP binários e os scripts serão disponibilizados ao ASE.

Agora, execute o ASE. Você poderá ver scripts demo em PHP e eles deverão funcionar.

Não funciona? Por favor, tente desinstalar e instalar novamente (este é um software alpha).

Continua não funcionando? Preencha essa pesquisa, por favor: http://www.zoomerang.com/Survey/WEB22AXDHRY8L5

Screencast

Iniciando

The real time ways (no more install, no SDK, nothing required)

1. Add/Edit PHP scripts on your mobile

ASE 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”:

<?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

SL4A API

Distributing your PHP script as APK

The ASE project is working on this. It will soon be possible.

Scripts collection

When PFA isn't enough: AndroidJava for PHP programmers.

FAQ : Frequently Asked Questions

FAQ




 
manual/pt_br/index.txt · Last modified: 2010/08/22 16:59 by diego   Back to top
Powered by DokuWiki RSS: cambios recientes Irontec