×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Python
Posted by: Coder Conder
Added: Jul 6, 2017 9:24 PM
Views: 9
Tags: no tags
  1. import android
  2. droid = android.Android()
  3. code = droid.scanBarcode()
  4. isbn = int(code['result']['SCAN_RESULT'])
  5. url = “http://books.google.com?q=%d” % isbn
  6. droid.startActivity(‘android.intent.action.VIEW, url)