I’m looking for some tutorial or sample how to use Zxing library within android’s Fragment.
UPDATE:
Using IntentIntegratorSupportV4 can I use only scanner if it installed on device or in my own app?
Because I want to use QR Scanner in my own app which has two tabs. In fist must be this scanner. How I can handle it?
This sample project demonstrates the use of
IntentIntegrator, and you will find a compiled JAR containing that class in the project’slibs/directory.There are really only two steps:
Call
(new IntentIntegrator(this)).initiateScan();to bring up the scanner.Implement
onActivityResult()and useIntentIntegratorto help parse the results: