No need to handle camera in your app. Just use the zxing lib in your application. I done this using following links as : Link 1 · Link 2 · Link 3.
stackoverflow.com