s-k-p-y / php-for-android

Automatically exported from code.google.com/p/php-for-android
0 stars 0 forks source link

filex exited #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.i installed both the SL4A  and PhpForAndroid.apk
and the installation was successful

but when i open any pre created files like hello_world.php or any file

i got message 

hello_world.php exited

filename exited with any opened file

and the file output didn't appear
en ask me to close the tarminal

but that only happen with the echo data like php_info and echo test

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
my phone is nesux 4

Please provide any additional information below.

Original issue reported on code.google.com by m.has...@emerging-media.co.uk on 17 Oct 2013 at 3:49

GoogleCodeExporter commented 9 years ago
The answer to the problem is very simple, the precreated files contain 
mistakes! For instance,
hello_world.php should contain the following line

$name=$droid->dialogGetInput("Hi!","What is your name?","");

but it contains only a part of that. There is API menu in the PHPforAndroid 
editor where you can find proper forms of all methods that class Android 
contains. Moreover, PHP version included in SL4A is not really 5.3.3. It 
contains only a part of all instructions which real PHP includes! It is very 
simplified PHP!

Original comment by janusz...@gmail.com on 15 Dec 2013 at 8:44