Android Question Zxing barcode returning to "Main" activity

Beja

Expert
Licensed User
Longtime User
Solved:
When returned, the barcode didn't find the activity because I put "activity.finish in the activity.pause sub, so it found the only place to return to was 'Main"

Hi,
I have two activities, basically the Bluetooth example's 2 activities. the first one 'Main' is to connect the BT and pass control to
the second activity where I have the barcode.
So far so good, but when on the second activity and hit the 'btnStartScan' button:
myABBarcode.ABGetBarcode("myabbarcode", "")
The scan process goes well, but then the control returns to the first activity (BT Connect) and not the calling activity.

Any information appreciated
 
Last edited:
Top