Android Question Camera goes under videoview

jazzzzzzz

Active Member
Licensed User
Longtime User
Am using exCamera to preview cam on panel,the cam panel position is above a videoview,

The issue is that when i initialize camera the preview goes below videoview,I have used panel.bringtofront and that does not solve the issue..

if camera is not initialized in the panel then panel is showed above the videoview..Any ideas?
 
Last edited:

jazzzzzzz

Active Member
Licensed User
Longtime User
My videoview will be always playing from an RTSP IP Camera, as it is like a surveillance system.

So I must have to show the device camera preview above the video without hiding the videoview
 
Upvote 0

jazzzzzzz

Active Member
Licensed User
Longtime User
Yes. No other option.

I solved the issue by creating a new activity for camera and made activity as dialog using

SetActivityAttribute(Main, android:theme, "@android:style/Theme.Dialog")

so now video is playing background with camera as popup..
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…