A version of barcodescanner better suited for DialogFragments