Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Read again QR code? #5

Closed
shyam002 opened this issue Sep 22, 2014 · 4 comments
Closed

How to Read again QR code? #5

shyam002 opened this issue Sep 22, 2014 · 4 comments

Comments

@shyam002
Copy link

When Activity called first time its create object of QRCodeReaderView and scan QR code at first time but i want to scan again QR code on click of Start/stop button but how ?please tell me.

Thank you

@dlazaro66
Copy link
Owner

I don't really understand this issue, it's about a malfunction of this library or about how to use it?
Anyway, the example project is a simple activity which launch the decoder and return back the result, you can modify it to implement your desired behaviour. Check how it's done there.

@shyam002
Copy link
Author

it's about how to use it not malfunctioning,I implemented this project and it's work great,on start of activity it scan qr code and stop preview OK, but now i want to scan again qr code without recreating activity on click of button start/stop so i am not getting idea how to do this,please show me way to do that.

@shyam002
Copy link
Author

on button click calling this method "mydecoderview.getCameraManager().startPreview();" just start camera preview but not actually scan qrcode so which method should i call for start scan again.

@dlazaro66
Copy link
Owner

It's been a while since I released this lib, but I remember that Start/Stop decoding while camera is on, is not implemented. You can modify my code or the original project code, try to implement that and later make a pull request.
I'm closing this issue, since I think this is not an issue for the code, but a request for new functionalities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants