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

IntentIntegrator fails with Fragment Activity #1

Open
GoogleCodeExporter opened this issue Mar 30, 2016 · 4 comments
Open

IntentIntegrator fails with Fragment Activity #1

GoogleCodeExporter opened this issue Mar 30, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Using provided jar with FragmentActivity.

What is the expected output? What do you see instead?
It gives a "java.lang.IllegalArgumentException: Can only use lower 16 bits for 
requestCode"

What version of the product are you using? On what operating system?
Version 1.1, on Android 2.2+

Please provide any additional information below.

More details can be found here:
http://code.google.com/p/zxing/issues/detail?id=958

It wouldn't happen if jar was built with a different REQUEST_CODE in 
IntentIntegrator, using only upper 16 bits as REQUEST_CODE.

Original issue reported on code.google.com by [email protected] on 11 Dec 2012 at 12:01

@GoogleCodeExporter
Copy link
Author

I'm sorry, I didn't see the type and priority part when entering the issue. 
It's probably noa a defect, and priority is very low.

Original comment by [email protected] on 11 Dec 2012 at 12:09

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I think I have fixed the problem. At least it is working in my app  with 
fragments. I have put the library up on github you can just import it into 
eclipse and make it a library. https://github.com/dtgillis/zxingLibrary

Original comment by [email protected] on 12 Dec 2012 at 1:54

@GoogleCodeExporter
Copy link
Author

Yes, it works now. Thnk you very much.
Just a question: Do I have to mark this as solved or something? If so, how do I 
do that?

Original comment by [email protected] on 12 Dec 2012 at 11:57

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

No branches or pull requests

1 participant