This is very easy and it feels more lightweight than the workflow in the SL4A environment. I´m not quite shure if there isn´t just SL4A under the hood. In fact the hardware api given looks quite similar at a glimpse.
But this provides even more: you can easily code the api to get some UI to control your script-app, too.
I will find out, if and how the scripts could be run as a separate app. Maybe in a second part of this article.
Well, to add something from the domain of schulkontext.de: this could be something for programmin lessons in school, too!!