I am new to android. I am using zxing in my android project natively. I followed the steps here . But I get get classNotFoundException for capture activity of zxing lib when I call intent calling zxing android client. Also note that when I add capture activity project as library, firstly it adds properly, then when I say apply/ok & later see again then i see red x mark for this added lib. Even the src folder of added lib is not seen in source tab. I think there is some problem while adding lib but I don't know what & how to figure it out.
Please suggest.
Thank You.
The problem is that you are trying to use android/
as a library, and it is not a library. You are not supposed to copy this code and try to call it in your app. Instead, write your own app. Then integrate the core library (just core/
) for decoding.
If you're new to all of this, you will probably have a lot of difficulty getting this working versus just integrating by Intent: http://code.google.com/p/zxing/wiki/ScanningViaIntent
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.