1
I’m trying to implement a tutorial using Zxing to read Qrcode.
In the tutorial who was accompanying him uses the Eclipse and places the libs of Zxing all importing "by hand". I am using Android Studio and used the Gradle to generate the dependencies.
But there comes a time when he edits a class of lib of Zxing because it is necessary after taking the photo of Qrcode that returns to ActivityMain to show the result, otherwise it gets stopped in the Activity camera.
My doubts are:
- I can’t find where the
Gradlelower the dependencies for me to edit it. - Is there any other way to make sure that after reading the Qrcode to
Activityclose?
Here is the code as implemented.
quando eu tentei estender a classe CaptureActivity da um erro falando que eu não posso usa-la como herança:"cannot inherit from final 'com.google.zxing.client.android.CaptureActivity'",pastebin do codigo:http://pastebin.com/SqEpQFNH,você sabe o que pode ser?
– Rodolfo Oliveira
I had not noticed, it seems that there were changes in this library and now this class is a final and can no longer be extended. The alternatives then remain in other solutions such as this or even you manually import this library without the Gradle.
– Paulo Rodrigues
do you know any app that I can call an Internet with it and it read and give me back the result? ,because with Zxing is not rolling :/
– Rodolfo Oliveira