in reply to cpan android

I'd suggested installing Eclipse and follow the Android documentation to get a development environment up and running, this allows testing your apps on a virtual Android device, you can alter the hardware specification and Android version for testing/benchmarking purposes.

As for SL4A, this looks quite interesting, I'll play around with this when I get home this evening. The only problem I can see is that your application will have a much larger filesize than a native JavaApp, which impacts device performance (most people don't have Apps2sd**) and as you say, potential impact on bandwidth use, which may result in a cost.

The FAQ suggests that you can install (pure) Python modules by coping them to the appropriate place, perhaps this is the same for (pure) Perl modules.

Update: Do you have a terminal emulator installed on your phone? You could have a look around to see if cpan is part of the perl packages SL4A downloads.

Update 2: Also, I'd be curious as to know if when publishing a script, what the access permissions will be? The SL4A requirements (essentially wanting full hardware control and access to all your data) may be off putting to end users.

** Note that with most Android builds, applications are installed to the phones internal memory, which reduces the free RAM available to the system. I use Cyanogenmod, which allows me to specify where things get installed to, among other improvements.

Replies are listed 'Best First'.
Re^2: cpan android
by elef (Friar) on Nov 29, 2010 at 19:04 UTC
    Note that with most Android builds, applications are installed to the phones internal memory, which reduces the free RAM available to the system.

    ...you mean it reduces free storage space available to the system, right? RAM and the non-volatile flash used for storing the OS, the installed apps and your data are two different things on an Android phone, just like on a computer. Filling up the ROM with apps only means you won't be able to install more apps, it doesn't affect anything else. When you update to Froyo, you can move apps to the SD card, so it has even less importance.

    My phone, for example, has 384MB of RAM (memory) and 512MB of ROM (storage). The two don't flow into each other.

      Clearly I've picked something up totally wrong when reading about how the android framework uses internal storage. I have Cyangeon 6 (Android 2.2.1) installed on this old thing, my provider (Vodafone UK) are way behind, I think they may have given up :)