from the docs:
Intent.ACTION_MEDIA_SCANNER_FINISHED
Broadcast Action: The media scanner has finished scanning a directory. The path to the scanned directory is contained in the Intent.mData field.
that have nothing to do with barcode scanning. You have to see which library/method you're using to scan a barcode.
If you're using the XIng library I'm sure you have to call an activityForResult and then you just catch onActivityResult