Android Scripting Environment: VGRebirth Scan
21 12 09 - 19:49
While I'm still in the honeymoon stages with my Droid, I've been playing with the Android Scripting Environment. And as a rite of passage, I've written my own bastardization of the barcode scan app. Only mine is linked to our good friend Rev Quixo's VG Rebirth so I can use it to quickly scan in any video games I might want to add. Nifty, no? Alright, it's the same thing everyone else is doing... doesn't matter, it's useful to me!
You'll need the ASE installed as well as ZXing's Barcode Scanner (which you should have been playing with since day 1, anyways):
import android
droid = android.Android()
code = droid.scanBarcode()
x = str(int(code['result']['SCAN_RESULT']))
url="http://vgrebirth.org/games/search.asp?keywords="+x
droid.startActivity('android.intent.action.VIEW',url)
No comments

