• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to use scanner and camera in tablayout simultaneously

Am Developing Scanner Application in android, im using tablayout in that,one tab contains camera to scan the qr code and in another tab want to show camera to take photo of the content, but in android we cant access same resources simultaneously (viewpage) so how can i fix this issue? now i temporarly fix this issue using camera intent
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones