mostafamemariani / php-for-android

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

PHP scripts not loading #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I've downloaded the ASE unofficial version and also php4Android.apk available 
at: http://phpforandroid.net/. Both successfully installed on my xperia x10. 

Starting ASE and selecting one php script (ex: list_items.php) from list of 
available files and then selection "Edit -> Save & Run", a terminal appears and 
the script with some shell "export" commands and the following phrase: 

reloc_library[1215]: 14929 cannot locate '__aeabi_fdiv'...CANNOT LINK EXECUTABLE

I'd like to know if somebody have been facing this problem using ASE + 
PHP4Android.

Original issue reported on code.google.com by ramon.ra...@gmail.com on 18 Aug 2010 at 5:05

GoogleCodeExporter commented 8 years ago
I've figured it out that when using Android OS 1.5 (Cupcake) PHP scripts are 
successfully executed. Is Cupcake the only Android version supported till now?

Original comment by ramon.ra...@gmail.com on 20 Aug 2010 at 5:12

GoogleCodeExporter commented 8 years ago
Have you tried our latest version (pfa 0.2)?

SL4A + PFA should work in any handset with Android >= 1.5. However, in the past 
(pfa 0.1), people reported issues with Android 1.6. We're now using an official 
SL4A build so It's time to study this kind of issues.

Original comment by ivanm...@gmail.com on 21 Aug 2010 at 10:16

GoogleCodeExporter commented 8 years ago
I've tried the following commands: smsSend(), viewMap(), notify(). Then, the 
notification bar came with the same message <scriptName>.php started" but 
suddenly changes to "<scriptName>.php exited.". Debugging i found the following 
stacktrace whatever command used: 

08-23 05:35:02.285: ERROR/sl4a.EmulatorView$2:415(269): Failed to read. Exiting 
thread.
08-23 05:35:02.285: ERROR/sl4a.EmulatorView$2:415(269): java.io.IOException: 
I/O error
08-23 05:35:02.285: ERROR/sl4a.EmulatorView$2:415(269):     at 
org.apache.harmony.luni.platform.OSFileSystem.readImpl(Native Method)
08-23 05:35:02.285: ERROR/sl4a.EmulatorView$2:415(269):     at 
org.apache.harmony.luni.platform.OSFileSystem.read(OSFileSystem.java:118)
08-23 05:35:02.285: ERROR/sl4a.EmulatorView$2:415(269):     at 
java.io.FileInputStream.read(FileInputStream.java:312)
08-23 05:35:02.285: ERROR/sl4a.EmulatorView$2:415(269):     at 
java.io.FileInputStream.read(FileInputStream.java:267)
08-23 05:35:02.285: ERROR/sl4a.EmulatorView$2:415(269):     at 
com.trilead.ssh2.StreamGobbler$GobblerThread.run(StreamGobbler.java:40)

The script was executed with recently SL4A_r0 + phpforandroid v 0.2

Original comment by ramon.ra...@gmail.com on 23 Aug 2010 at 5:46