Android Scripting Environment Both Awesome & Frightening

This announcement from Google…

Introducing Android Scripting Environment

…probably has a lot of people excited about the Android smartphone platform. This scripting environment supports two well-known dynamic languages: Python (one of my personal favorite languages) and Lua. It also supports something I had not heard of before: BeanShell. BeanShell interprets scripts written using the Java language.

So, the good thing about this announcement is that Android now can use powerful scripting languages that can do powerful things with the phone like start apps, access sensor information, scan bar codes, use text-to-speech features, send text messages and make phone calls.

Here’s what is frightening about this announcement: Android now can use powerful scripting languages that can do powerful things with the phone like start apps, access sensor information, scan bar codes, use text-to-speech features, send text messages and make phone calls.

Note that the Android-based T-Mobile G1 allowed itself to be turned off by typing S-H-U-T-D-O-W-N from anywhere on the system before its firmware was patched for this bug. Giving scripts low-level access to a phone’s features can lead to all kind of mischief. Some will be malicious. But, many more problems will probably arise simply from sloppy coding.

Many past security issues were related to scripting languages with low-level access to the workstation (PC) or server. Microsoft’s Visual Basic for Microsoft Office and Javascript come to mind as two big ones.

It wouldn’t surprise me if ASE leads to both wonderful Android apps and giant headaches.

Related Stories
Mediabistro Course

Pinterest Marketing

Pinterest MarketingPin your way to a wider audience! Starting December 1, work with the VP of Marketing at SheKnows to learn how to leverage Pinterest for your brand. In this course, you'll learn how to create a Pinterest Playbook to develop and measure your marketing strategy, grow a follower base, run an effective contest, and stay updated on the best practices for this platform. Register now!