Issue 7 in php-for-android: Not working on Xoom/Android 3.0 Honeycomb

23 views
Skip to first unread message

php-for...@googlecode.com

unread,
Apr 15, 2011, 10:27:44 PM4/15/11
to php-for...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 7 by androida...@gmail.com: Not working on Xoom/Android 3.0
Honeycomb
http://code.google.com/p/php-for-android/issues/detail?id=7

This might be "won't fix", but figured I'd log it as a ticket in case
there's interest. I don't know my way around in C, but I'm happy to help
you debug further if you tell me some things to try!

Specs:
Model number: Xoom
Android version: 3.0.1
Baseband version: N_02.0F.00R
Kernel version: 2.6.36.3-g2a65edc android-build@apa28 #1

I've successfully downloaded and installed both SLA4 version 4 and PHP For
Android 0.3 (sl4a_r2).

When I start up SLA4 and attempt to run hello_world.php, the console yields
the following:

FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378
FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378

Then, instead of being prompted for my name as shown in the screencast, I
instead just get a note that says:

"Process has exited. Close terminal? [ Yes / No ]"


php-for...@googlecode.com

unread,
Apr 15, 2011, 10:31:47 PM4/15/11
to php-for...@googlegroups.com

Comment #1 on issue 7 by androida...@gmail.com: Not working on Xoom/Android
3.0 Honeycomb
http://code.google.com/p/php-for-android/issues/detail?id=7

Oh. And repeat that for any of the other scripts.

php-for...@googlecode.com

unread,
Apr 16, 2011, 4:44:42 AM4/16/11
to php-for...@googlegroups.com

Comment #2 on issue 7 by ktulur: Not working on Xoom/Android 3.0 Honeycomb
http://code.google.com/p/php-for-android/issues/detail?id=7

FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378 is a
known issue, ignore that.

About "Process has exited. Close terminal? [ Yes / No ]"... Have you tried
with other interpreters SL4A provides like Python or Ruby? Same error?


php-for...@googlecode.com

unread,
Apr 16, 2011, 10:10:44 AM4/16/11
to php-for...@googlegroups.com

Comment #3 on issue 7 by iena...@gmail.com: Not working on Xoom/Android 3.0
Honeycomb
http://code.google.com/p/php-for-android/issues/detail?id=7

I have the same error on COBY MID 7015 Tablet PC with android 2.1. I can
not use PHP and do not know what happend.

php-for...@googlecode.com

unread,
Apr 16, 2011, 10:53:10 AM4/16/11
to php-for...@googlegroups.com

Comment #4 on issue 7 by ktulur: Not working on Xoom/Android 3.0 Honeycomb
http://code.google.com/p/php-for-android/issues/detail?id=7

I need to know if you have the same issue with Python and Ruby. If so,
escalate the issue to SL4A project.

Thanks in advance.

php-for...@googlecode.com

unread,
Nov 28, 2012, 3:23:19 PM11/28/12
to php-for...@googlegroups.com

Comment #6 on issue 7 by mchl.mor...@gmail.com: Not working on Xoom/Android
3.0 Honeycomb
http://code.google.com/p/php-for-android/issues/detail?id=7

This might helps someone. Pay close attention to the last line:

getInput( String title[optional, default SL4A Input]: title of the input
box, String message[optional, default Please enter value:]: message to
display above the input box)

Queries the user for a text input.

Deprecated in r3! Please use dialogGetInput instead.

php-for...@googlecode.com

unread,
Nov 29, 2012, 4:30:17 PM11/29/12
to php-for...@googlegroups.com

Comment #7 on issue 7 by ktulur: Not working on Xoom/Android 3.0 Honeycomb
http://code.google.com/p/php-for-android/issues/detail?id=7

Uhm, weird, I'm preparing a new release targeting sl4a r6, I'll review the
scripts.

Reply all
Reply to author
Forward
0 new messages