Currently zxing library supports only on landscape mode.For my app i need to use in portrait mode
I wanted to use the Barcode reader in portrait mode. I found the solution here as mentioned in a comment posted earlier in this thread. I thought of putting this as an answer so it is easier to find the solution for the people having the same problem.
To use the scanner in portrait mode, you need to add the following activity in your AndroidManifest.xml.
And that's it.
See the link for more details.