Feeds

Google lets you code for Googlephones on Googlephones

Android's mobile scripting kit

Combat fraud and increase customer satisfaction

Google has introduced an Android scripting environment that lets you code stuff for the Googlephone on the Googlephone.

It's called, well, the Android Scripting Environment. ASE, for short. It sits on the Android handset itself, giving coders the power to write and run scripts in Python, Lua, and BeanShell - without help from a PC. Google thinks that coding full-fledged Android apps on a PC is like heaven on earth, but it's still interested in giving developers the power to code on the run.

"Android's development environment makes life pretty easy, but you're tied to a computer to do your work," reads a blog post from Googler Damon Kohler. "ASE lets you develop on the device itself using high-level scripting languages to try out your idea now, in the situation where you need it, quickly."

The new scripting environment gives you access to many - but not all - of the APIs available to full-fledged Android apps. Scripts can make phone calls, send text messages, scan bar codes, poll location and sensor data, use text-to-speech, and more. As an example, Kohler shows off a script designed to prevent an Android phone from running when it's placed face-down.

Google Android Scripting Environment

Android scripting on Android

You can run scripts interactively in a terminal, launch them as long-running background services, or run them via Locale, a third-party Android app and developer platform that changes the Googlephone's behavior depending on where it's, yes, located.

With BeanShell, you can access Android's Java API directly. With Lua and Python, you tap the API via JSON RPC calls to a proxy. At some point, Google will also offer scripting with Ruby and Javascript as well.

The environment has not been published to the Android Market, Google's answer to the iPhone App Store, but the company says it will be soon. In the meantime, you can download an alpha here. The open-source project page also includes sample scripts and documentation. ®

SANS - Survey on application security programs

More from The Register

next story
Ubuntu 14.04 LTS: Great changes, but sssh don't mention the...
Why HELLO Amazon! You weren't here last time
Next Windows obsolescence panic is 450 days from … NOW!
The clock is ticking louder for Windows Server 2003 R2 users
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Ditch the sync, paddle in the Streem: Upstart offers syncless sharing
Upload, delete and carry on sharing afterwards?
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
prev story

Whitepapers

Mainstay ROI - Does application security pay?
In this whitepaper learn how you and your enterprise might benefit from better software security.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Top three mobile application threats
Learn about three of the top mobile application security threats facing businesses today and recommendations on how to mitigate the risk.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.