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.
Comment #1
Posted on Aug 20, 2010 by Grumpy KangarooI'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?
Comment #2
Posted on Aug 21, 2010 by Swift BirdHave 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.
Comment #3
Posted on Aug 23, 2010 by Grumpy KangarooI've tried the following commands: smsSend(), viewMap(), notify(). Then, the notification bar came with the same message .php started" but suddenly changes to ".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
Status: New
Labels:
Type-Defect
Priority-Medium