Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

perl 4 android & modules.

by builat (Scribe)
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','d.data'); $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.

Comment on perl 4 android & modules.
Download Code
Re: perl 4 android & modules.
by taint (Chaplain) on Nov 16, 2013 at 07:14 UTC
    Greetings,

    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.

    HTH

    --Chris

    #!/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 (Monk) 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 - http://code.google.com/p/saaral-soft-search-spider/ , contributions are welcome.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-07-28 23:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (210 votes), past polls