PhoneGap Android Barcode Scan UI Modification
Im currently using the Barcode Scanner from the open source library Zxing in my android project. The problem Im facing is concerning the scanning UI When I launch the Scan window,
Solution 1:
If you are just calling BarcodeScanner via an intent you have no control. However if you are embedding the Java code from the BarcodeScanner app in your app you have all the java code and xml resources available and can edit them how you like. It will all be Java and native Android resource stuff though.. not html.
If you are embedding the layout is
http://code.google.com/p/zxing/source/browse/trunk/android/res/layout/capture.xml
and the activity that does the scanning you want to edit is
If you add a button in the layout and call finish in the OnClickListener you set up in the activity it would be a back as you desire..
Post a Comment for "PhoneGap Android Barcode Scan UI Modification"