I have an Android application with 3 tabs at the top.
The first tab is “Scan” which is supposed to show the camera so you can scan barcodes.
I’m currently using intents with the zxing library. The problem is the camera preview takes the whole screen.
I want to keep the tabs at the top, even on the camera preview screen.
Is it possible to do that with this setup? Or do I have to include the source code of zxing and modify stuff in there?
This might be possible by using an ActivityGroup. It will allow you to host other Intents with your application.
This article here seems to state that it is possible and links to a project using this approach.
Code for future proof:
…
…