Chapter  3

Roll Your Own Android Scripting Environment

A device running Android is by definition a full-blown computing platform.

Considering this, it’s not a giant leap of the imagination to wonder about the feasibility of entering programming code directly on the device and having this code execute immediately without any intervening compilation, build, and deployment cycle. In other words, can an Android device work as a handheld, onboard environment for writing and running small scripts and programs?

Perhaps you’ve found yourself wanting the convenience of tinkering on your phone with a small algorithm or piece of code logic while on the bus, train or plane. Ideally, you’d be able to do this in an iterative manner so that each bit of logic ...

Get Practical Android Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.