Here’s a barcode scanner written in six lines of Python code:
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)
SOURCE- http://www.mattcutts.com/blog/android-barcode-scanner/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment