Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Google Android

by dpavlin (Friar)
on Feb 19, 2008 at 17:17 UTC ( [id://668849]=note: print w/replies, xml ) Need Help??


in reply to Google Android

There is existing mobile device which has perl: OpenMoko. perl was one of reasons why I bought one.
root@fic-gta01:~$ uname -a
Linux fic-gta01 2.6.24 #1 PREEMPT Thu Feb 14 11:13:21 UTC 2008 armv4tl unknown
root@fic-gta01:~$ perl -v

This is perl, v5.8.8 built for arm-linux-gnueabi
-V flag doesn't work (missing Config.pm), but mobile devices are different beasts than other platforms because they are quite space limited:
root@fic-gta01:~$ df /
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock4           62576     51872     10704  83% /
This is after clean re-install of rootfs and installation of perl from package using ipkg install perl

To be honest, other than script to change LCD backlight level (just for fun, no practical value) I didn't do much development for on this GTA01 (developers release) device.

I had plan to write xs bindings for OpenMoko UI libraries, but I got distracted by other things, and all-in-all this unit is really development device with various quirks which prevents you to do development on it and use it at same time, so it was neglected for quite some time.

However, my biggest gripe is battery life, and since this required fixes in hardware there is no hope for my unit. However, mass-produced GTA02 unit would be much better match for serious development if for nothing else because it has graphic accelerator which this one lacks (which makes whole GUI somewhat sluggish compared to several years old cell phone).


2share!2flame...

Replies are listed 'Best First'.
Re^2: Google Android
by avrono (Novice) on Apr 16, 2009 at 13:47 UTC
    I am interested in porting Perl to the Android, mostly because I hate programming in Java. Although I am not sure where to start, if anyone has any ideas to form a project to do so, please let me know. -Avron

      Have a look at Perldroid, a project that appears to be dead now. They got Perl working on the emulator, but not on the G1 because that ran an older version of the libc. Maybe it'll work with the new 1.5 "Cupcake" release, that's on the new HTC Magic phone.

      Severe tuit shortage prevents me from trying it myself.

        PerlDroid is no more dead, it has resurrected :-p

        Even if ASE is going to support Perl, I thought it would be more practical the way I implement it, mainly because ASE will be feature limited by design.

        If somebody is willing to help, it would be greatly appreciated...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://668849]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-23 07:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found