It's my first question but I will try to explain the problem properly. I am tring to use ZBar (Barcode reader) in my android app. I don't want to use another barcode reader installed on the phone but implement ZBar into my code. I tried tips from here on how this could be done.
The problem is I can't use hardware.Camera. I have attached a few print screens:
If you are using Android studio add in your gradle :
compile 'me.dm7.barcodescanner:zbar:1.8.4'
And read how to user: (Repo + Tutorial)
https://github.com/dm77/barcodescanner#zbar
Related
I want to scan a fingerprint. Also I have the device SDK provided for the manufacturer and there is an example inside of how to use the functions. When I run the example code suddenly it crashes while saying: "libOpenVG.so not found"
There is nothing in my code with the word "OpenVG". If I really nedd to use that thing, how can I use OpenVG in android studio?
I recently found out that the out of the box scanner plugin will not scan more than 10 characters for a high density barcode (ex: CODE 39)
Since I use phonegap build, instead of reinventing the wheel, I would like to simply invoke an external barcode scanning app that can return the scanned value back to my app and I can continue from there.
How would I do that on PhoneGap?
I am looking for either a working sample/app or a code that I can use as reference to atleast do a POC.
I ended up forking the barcodescanner repository on github and modifying the phonegap scanner plugin to only show a strip vs a box. This did resolve the issue.
Not the ideal solution, but was easier than architecting my own plugin
I am new to android app development. I need to develop a very simple app that could detect coloured circles.Can someone please tell me in detail how to use openCV Circle Recognition code in developing a simple android app that can detect coloured circles. I am currently using openCV+ Eclipcs but it does not allow me to compile the source code in to .apk file
I have already done what u are saying...I have done the following
I download the full NVidia tegra-devpack-2.0-windows-2013-02-06-14961502 and installed It contains both android ADT for eclipse and eclipse also. It also contains the open CV and it automatically configures everything.
Everything works fine when I make a new android app like “my first HELLO WORLD app” and I can even install it to my android phone that means everything is working fine and everything is configured correctly.
The problem arises when I try to import the source code of the “CVCamera” an common app for detecting circles in android devices
When I import it in the eclipse as an android project from existing code it gives me following 2 errors
(a) Project 'CVCamera' is missing required Java project: 'OpenCV'
(b) The project cannot be built until build path errors are resolved.
I have tried lots of things I even tried to link the open CV library to the project but of no use
I have a simple objective I want to develop an android application for detection of coloured circles by using the already available code on the web. Please help me in achieving the following
I am using openCV4android . I can even create new apps but the problem arises when i try develop the application by using already made source code. I am using the sources code of the CV camera app which has been already developed by so many developers Following is the link of the error I am getting in the eclipse.
Please see the image
Following is the link of the CV camera application which I am trying to import
stanford.edu/class/ee368/Android/OpenCV/CVCamera_Canny.zip
Here is the link for another error “Build path entry is missing: OpenCV”
image
building workspace problim image
Use opencv4android in eclipse.
Before that you should deploy android ADT for eclipse, or download bundle for android dev.
Then follow the tutorial at opencv official site to start your way to android.
Use hough transform for circle detection.
You must link JavaCV lib into your project rather than OpenCV.
Android app cannot use OpenCV(C++) unless you use JNI, which is far beyond the scope of this question.
So please follow the tutorial for using JavaCV on Android rather than doing the import stuff on your own. Please make some JavaCV examples compile and run on your phone before you try to adapt the code.
Besides I strongly recommend you use openCV4android, which is sure to work, rather than JavaCV + Android, which takes your considerable time coping with configuration and integration.
I have compiled the Zxing core.jar and I have already added it to my Eclipse project, but I'm having trouble while trying to use the Zxing libraries I don't know where to start from. What I would like to do is to scan QR Codes directly from the device's camera. My actual app does show the camera preview in a SurfaceView, but it doesn't scan anything.
My question is how to actually scan from the camera? Without using the Zxing intent mechanism, I would like to embed Zxing directly into my project.
I'm a newbie, I would appreciate any kind of help you can provide me: code, links , etc. Thanks in advance.
The project has complete source code for Barcode Scanner in android/. You can just reference this.
i am working on an application that needs to scan bar codes as a functionality..I have integrated all the code of zxing with my app code and now when i try to install it on my device(OS 1.6) it gives me an "INSTALL_FAILED_CPU_ABI_INCOMPATIBLE" error...
i cant use intents to use the barcode application because that will create a necessity to have zxing installed on the device..i want my application to be standalone..
Please suggest what do i do???
I did the same thing you tried to do. I did not have any such error.
Yet, the error mentions ABI, which makes me believe the problem is NDK related. (AFAIK) ZXing doesn't use native code, so you should look at the native code in you application.