Running a Perl script on Android

c0dehunter picture c0dehunter · Oct 9, 2013 · Viewed 10.3k times · Source

I need to run a Perl script (isohybrid.pl) from my Android app. I came across perl-android-apk project which seems just what I need. It comes as an eclipse project and you can build what you need from this base. The problem is that I need this inside my own project.

So my question is how can I incorporate this inside my own project? I am open to other suggestions about running a Perl script on Android too - however, the Perl interpreter needs to be contained in my APK.

Answer

Carl Anderson picture Carl Anderson · Oct 9, 2013

The APK site is hosted on Google Code, so if you know how to use git, you should be able to pull the source code down using their site:

https://code.google.com/p/perl-android-apk/

Once you do that you can use Eclipse's Import utility to import the code as an Android project. This should give you the pre-APK version of the code, which you can add as a dependency to your existing project.