Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

perl 4 android & modules.

by builat (Monk)
on Nov 16, 2013 at 03:24 UTC ( #1062845=perlquestion: print w/replies, xml ) Need Help??
builat has asked for the wisdom of the Perl Monks concerning the following question:

Good day monastry mind
Today I install sl4a on my phone and write my first android code.
#!/usr/bin/perl use strict; use warnings; use Android; my $droid = Android -> new(); my $Out = 'try data for ever looop'; $droid -> makeToast ('event invfo');# done $droid -> vibrate(); # done $droid -> dialogCreateAlert ('d.title',''); $droid -> dialogSetPositiveButtonText ('da'); $droid -> dialogShow(); $Out = $droid -> dialogGetResponse() -> {'result'}; if ($Out -> {'which'} eq 'positive'){ $droid -> makeToast ('have positivee response');} $droid -> dialogCreateSpinnerProgress('test title','data'); $droid -> dialogShow(); sleep 3; $droid -> dialogDismiss();
Anyway it simple hello world in android api.
So my qustion is: how do I install perl modules on android and what the best manual to read about perl on android.

Replies are listed 'Best First'.
Re: perl 4 android & modules.
by taint (Chaplain) on Nov 16, 2013 at 07:14 UTC

    Funny. I rooted my Android years ago. Put many different OS's on it. But never thought about putting Perl on it -- I've been pretty busy building a BSD kernel for it. Anyway. While I've seen Mobile related Modules. I haven't heard of a specific version of Perl designed for installation on Mobile devices. A good reference might be: XDA forums.



    #!/usr/bin/perl -Tw
    use Perl::Always or die;
    my $perl_version = (5.12.5);
    print $perl_version;
Re: perl 4 android & modules.
by sam_bakki (Pilgrim) on Nov 18, 2013 at 06:16 UTC

    Hi builat

    Perl for android is not actively under development. Its kind of dead.
    See: Here
    I was once (a year back) mad at perl + android but SLA + Perl is not coming to real thing. May be google just want to promote Java + Native dev. So I fell, it is not viable to invest in android perl unless it is actively under devlopment and we can put apps in app store.

    Thanks & Regards,
    Bakkiaraj M
    My Perl Gtk2 technology demo project - , contributions are welcome.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1062845]
Approved by LanX
Front-paged by LanX
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2016-10-25 23:43 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.