dexapier / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

droid.scanBarcode() causes JSON exception when scanning QR Code #604

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?
Motorola Droid Bionic, Lenovo Thinkpad Tablet

What firmware version are you running on the device?
0075_US on TPT
? on Bionic

What steps will reproduce the problem?
1.Run Python script calling scanBarcode().result
2.Scan QR Code
3.Observe failure

What is the expected output? What do you see instead?
tuple with results from scan, e.g. 
{u 'extras' : {u 'SCAN RESULT' : u'result here',u'SCAN RESULT FORMAT':u'QR 
CODE'}}

Instead I get:
dlopen libpython2.6.so
org.json.JSONException: Failed to build JSON result.

What version of the product are you using? On what operating system?
SL4A r4
Honeycomb/3.1

Please provide any additional information below.
Zxing 4.0
1D barcodes work fine, tested on UPC (int results I believe). text returned 
from QR when scanned in zxing app, which works fine on both devices.

Original issue reported on code.google.com by jee2...@gmail.com on 25 Feb 2012 at 7:45

GoogleCodeExporter commented 9 years ago
This issue is fixed in r5!

Original comment by jee2...@gmail.com on 30 Mar 2012 at 8:16

GoogleCodeExporter commented 9 years ago
Fixed in R5

Original comment by rjmatthews62 on 30 Mar 2012 at 1:27