Get Started Now

Python and Android for Barcode Scanning and Automating Controls

If you wanted to use the Android to do a little python scripting, then you can use the  PythonAndroidAPI through the Android Scripting Environment (ASE).

Matt Cutts shows a six-line proof of concept barcode scanner sent to him by Vijayakrishna Griddaluru, republished below. Also, Included are two more examples of  android-scripting.

Sample BarCode Scanner
import android
droid = android.Android()
code [...]

Python logging customizations

The log alternative (to print)

As an alternative to dumping to the cli for debugging and event notifications, Sean Gillies has a write-up about tweaking the log output to do some of the following.

Log messages can be sent to single files on disk, rotating log files, sent to SMTP servers — you could probably even create [...]