Rahul
Rahul

Reputation: 1627

Getting improper resultcode while using Zxing BarCode application in my android application

I tried to use this IntentIntegrator approach, but in my onActivityResult() I am getting resultcode = 49374 requestCode = 49374, I don't understand what am I missing, FYI, I only included IntentIntegrator.java and IntentResult.java in my project.

Upvotes: 0

Views: 585

Answers (1)

Sean Owen
Sean Owen

Reputation: 66866

I think you are perhaps printing out requestCode twice. 49374 (0xC0DE) is the correct requestCode. The app only sets Activity.RESULT_OK or Activity.RESULT_CANCELED as the resultCode. You can check the source in android/.

Upvotes: 2

Related Questions