Scripting Comes to Android
by Brady Forrest | @brady | comments: 12
Google is bringing scripts to Android. The Android Scripting Environment (ASE) will make development accessible and easy for devs who don't want to build a full-fledge application. As Google provides these details:
Scripts can be run interactively in a terminal, started as a long running service, or started via Locale. Python, Lua and BeanShell are currently supported, and we're planning to add Ruby and JavaScript support, as well.
These scripts can:
Handle intents
Start activities
Make phone calls
Send text messages
Scan bar codes
Poll location and sensor data
Use text-to-speech (TTS)
And more
The ASE will greatly increase the customizability of Android phones. This is one of the more interesting developments I have seen for mobile apps. I hope that the Market supports trading scripts. The ASE is not in the Market yet, but you can download it from its project page.
Update: Via Matt Cutts, a 6 line Python script that scans book barcodes:
import android
droid = android.Android()
code = droid.scanBarcode()
isbn = int(code['result']['SCAN_RESULT'])
url = “http://books.google.com?q=%d” % isbn
droid.startActivity(’android.intent.action.VIEW’, url)
ASE is going to be very powerful.
tags: android
| comments: 12
submit:
Comments: 12
To the "where is Perl?" folks, is there a Perl clone written for the JVM?
If yes, then there is a fighting chance it can work with ASE, as ASE appears aimed at languages that can run on the Android Dalvik VM.
If not, I'd start there.
@Mark Murphy
What is http://code.google.com/p/perldroid/ ??
Perl on Android is already accepted. :b
http://code.google.com/p/android-scripting/issues/detail?id=32
Don't think your programming language only can do something.
http://www.crystal-gift-award.com
world's finest crystal awards
We have more than 15 years experience in creating the world's finest crystal awards. We are a leading supplier of unique and exquisite crystal recognition awards to the promotional products industry. Consequently, we partner with our customers to create award programs that produce an elegant and unforgettable experience. Let us supply the perfect award for your next corporate event,employee recognition program, or employee incentive program.
http://www.intagent.com
Intagent is a Leading Real Estate Web Design Company. We provided Real Estate Web Design, FSBO Websites, Realtor Website Design,Low cost Real Estate Website Design, Real Estate Agent Design Templates, and more...
I'm looking forward to see how all of these will work. I trust google and I'm sure they will do a great job implementing these scripts. This also is going to make things even simpler for those who want to take some programming and have no knowledge of all languages supported by Android.
Post A Comment:
STAY CONNECTED
RECENT COMMENTS
- Juliette on Scripting Comes to Android: I'm looking forward to ...
- Aloke Saha on Scripting Comes to Android: http://www.intagent.com...
- Aloke Saha on Scripting Comes to Android: http://www.crystal-gift...
- monks on Scripting Comes to Android: @Mark Murphy What is ht...
- Mark Murphy on Scripting Comes to Android: To the "where is Perl?"...
- Kai Tamkun on Scripting Comes to Android: But what about PHP?...
- Dave on Scripting Comes to Android: What about mIRC-Script ...
- Anonymous on Scripting Comes to Android: Why is perl the red hea...
- @nyet on Scripting Comes to Android: yes - where is Perl?...
- monks on Scripting Comes to Android: Where is Perl?...


HereAndNow [2009-06-09 02:05 AM]
Cool! Android seems to be getting more powerful, by the minute. Now, all Android needs is for vendors to start offering Android on some beautiful handset designs.