N nabang97 New Member Oct 3, 2019 #1 I want to take a picture when the PanelCamera is visible. But I can not initialize the camera. When I pressed on the BtnCamera, it just showed a black screen and return start camera false. But when I tried on a new project, it's work. I don't why, please help..
I want to take a picture when the PanelCamera is visible. But I can not initialize the camera. When I pressed on the BtnCamera, it just showed a black screen and return start camera false. But when I tried on a new project, it's work. I don't why, please help..
JohnC Expert Licensed User Longtime User Oct 3, 2019 #2 Try adding a Sleep(500) before initialize like this: Code: Sub Activity_Resume Sleep (500) InitializeCamera End Sub Last edited: Oct 3, 2019 Upvote 0
Try adding a Sleep(500) before initialize like this: Code: Sub Activity_Resume Sleep (500) InitializeCamera End Sub