Created
January 9, 2013 10:57
-
-
Save ipereziriarte/4492294 to your computer and use it in GitHub Desktop.
Read Barcode and Isbn with android and Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android | |
droid = android.Android() | |
(id, result, error) = droid.scanBarcode() | |
isbn = int(result['SCAN_RESULT']) | |
url = "http://books.google.com?q=%d" % isbn | |
droid.view(url) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment