Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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
[stevieb]: choroba my GPS home device is done, at least prototype v1 is. I'm just making sure all of my code does what it says now
[stevieb]: I test/prototype code on my Pi, then I migrate it over to Arduino when it's ready (if that's a better platform for what I'm doing). The whole RPi stuff was for learning at first, then it snowballed. I'm just trying to get my in-house CI...
[stevieb]: ...done, which obviously requires a specific hardware setup.
[stevieb]: I don't write tests for the lower-level distributions (ie. ICs, sensors etc) within those distributions, I have all tests in a master distribution which encompasess all of the sub-modules

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-06-25 22:52 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (572 votes). Check out past polls.