Topic: Use PHP to develop application of android

PHP is very great, it is the sixth language in 3/2012 (Java=>C=>C#=>C  =>Objective-C=>PHP).
Tell you the truth, PHP enable to develop application of android (extension: .apk). At first, you need install SL4A and PHPforAndroid (see official site: www.phpforandroid.net) in order to build a PHP envoriment. Hello World as follow:
<?php
include 'Android.php';//引用安卓API
$droid = new Android();//创建安卓对象
$droid->dialogCreateAlert('www.liyujiang.tk提示:', 'Hello World');//创建对话框
$droid->dialogShow();//显示对话框
?>
Similaritily:
<script language="javascript">
window.alert("Hello World");//弹窗
</script>

师父领进门,修行在个人。teach yourself

Re: Use PHP to develop application of android

http://i44.tinypic.com/330hbhu.png

Re: Use PHP to develop application of android

This is good. I believed Android development was done with Java.

PHP is an excellent language big_smile