Search!

Last Comments

Blaine (Dunnet - The Anci…): I use emacs when I don’t …
kral (Dunnet - The Anci…): What? “...one step above …
leo (Dunnet - The Anci…): So you know, emacs is the…
piehammer (New Camera): is that the accountant? n…
piehammer (Nmap Icon and Scr…): technically a class c net…
Blaine (Photoshop Script:…): Quick note… If you’re run…
briggs (Dunnet - The Anci…): please tell me you have p…
briggs (Adobe Blackjack S…): and I thought I was the o…
briggs (Told ya so...): hell yes. portal is a thi…
Blaine (Vdigi Wii VGA Rev…): Dave> It should handle …

Links

RSS

XML: RSS Feed 
XML: Atom Feed 
Play-Asia.com - Buy Video Games for Consoles and PC - From Japan, Korea and other Regions!

« Amazing Gyudon Recipe… | Home |

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

  
Remember personal info?

Emoticons / Textile

To prevent spam, commentors must subject themselves to this rigorous exam.
 

  (Register your username / Log in)

Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.