It is an absolute
bare minimum wrap for
this Github project - just enough to start the scanner. I leave the rest up to whoever wants to add (a lot of) functionality to it such as:
1. Change the laser color
2. Change the text color
3. Change the background color
4. Pass the scanned result back to B4A - you need to do it in
public void ResultArrived(int arg0, Intent data) { of the wrapper (aQrcWrapper.java) but will have to create the intent in CaptureActivity.java
5. etc, etc, etc
Above reasonably easy to do - so I leave it to those that wants to complete the wrapper.
Posting the following:
1.The B4A project
2. The B4A library files - copy them to your additional library folder
3. a zipped file containing
core-3.2.2-20150819.125554-1.jar - copy it to your additional library folder
4. The Java Code (
src folder). You need to create a folder called
libs on the same folder level as the
src folder and copy
core-3.2.2-20150819.125554-1.jar into this folder in order to compile the Java code with SLC or with Eclipse.
A nice challenge - enjoy!