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

Re: Termux for all your Perl-needs on Android

by Corion (Patriarch)
on Mar 26, 2018 at 07:20 UTC ( [id://1211721]=note: print w/replies, xml ) Need Help??


in reply to Termux for all your Perl-needs on Android

Also very nice is that Termux comes with some command line utilities to query and set the state of Android functions and also to read and send SMS. This gives you a nice way to interact with Android from a Perl script without needing a module to talk to the Android API.

All that's missing is a small wrapper module, maybe Android::Termux::API?

Replies are listed 'Best First'.
Re^2: Termux for all your Perl-needs on Android
by morgon (Priest) on Mar 26, 2018 at 11:33 UTC
    The Termux-app together with the Termux:API-app gives you that.

    And it's not only texting ("SMS" to the germans).

    It e.g. also gives you access to the speech-synthesis that is (on my Fire 7) surprisingly good.

Re^2: Termux for all your Perl-needs on Android
by LanX (Saint) on Mar 26, 2018 at 08:26 UTC
    Didn't you once explain something like that Androids file system is problematic when installing Perl modules?

    Was that a different approach?

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Wikisyntax for the Monastery

      No, it is the same approach. Termux offers you to install some symlinks so you can have $HOME on a common directory, like the Downloads directory or something. But if you stay within Termux, you can only ever get access to files saved from within Termux, as Android basically runs every app as its own user. If you have root, you can still access other files.

        On my Fire 7 (no root available alas) I can cannot access other apps directories (as you correctly mention they belong to different users), but I can access e.g. all the files below /sdcard.

        So from termux (or a perl-script running there) I can access e.g. the directory where usually downloads go etc, which is quite good enough for me....

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2024-04-18 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found