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