I need QRCode library.

I used ABZxing in my app, but I have a problem.

(It uses well QuickMark too (same intent, I guess))

If the library does not find an app that reads barcodes, it informs the user;
but if it finds one, for example QRCode, it runs that app, although it is "incompatible".

In the best case, the user exits QRCode pressing Back and return to activity without my code, in others, it crashes (unfortunately I have not personally run these tests).

How can I avoid this behavior?
 
Upvote 0
You put out a 18 month old thread... Why not make a NEW thread for this NEW Question?
 
Upvote 0
Maybe I found a way, but I miss some items.

I have to test if there is an app in the device which starts with the same kind of Intent of QuickMark, using:
Code:
Dim mPckgManager As PackageManager
mPckgManager.QueryIntentActivities(IntentForQuickMark) ' returns a list

To create that IntentForQuickMark I need some info.

I can get the Intent "type" for QuickMark using:
Code:
mPckgManager.GetApplicationIntent("tw.com.quickmark")

but the Intent that I got is only made up of:

INTENTX.Action = 'android.intent.action.MAIN'
INTENTX.Flags = 268566528
INTENTX.ExtrasToString = no extras

Are them enough for create that IntentForQuickMark? uhmmm

Some help?

Thanks
 
Upvote 0
Back
Top