I develop an android application which uses the MC330 device built in barcode reader.
I implemented the scanning feature from this tutorial: https://techdocs.zebra.com/emdk-for-android/11-0/tutorial/tutBasicScann…
This is works when I build a debug apk, but if I create a staged or a release version, the barcode reader not working, I press the button, but the red light doesn't light.
I created a simple,to demonstrate the problem, but you can reproduce the problem if you device has EMDK, else you get an exception. https://gitlab.com/bandymnc/zebara_barcode_demo
I noticed that, when I push the button, I get this error:
Sending non-protected broadcast com.symbol.button.R1 from system 1208:system/1000 pkg android
I don't use broadcastReceiver, so I don't understand this error.
1 Replies
Hi, I believe this is this issue? https://stackoverflow.com/questions/70899282/how-to-use-zebra-emdk-in-r…
You marked it as resolved on Stack Overflow so I think this is now fixed.
The behaviour you describe in your answer is very strange, I would not expect a difference between debug and release behaviour but the main point is that the issue is now resolved.
I did try running your code on A11 and the issue for me was the <queries> tag, so this will definitely be required when you upgrade to A11.