Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

Camera control problem

Hi, I have a question regarding the Camera control. I don't know how to run it again when changing screens. When I enter for the first time, it works, when the next one is not 😞 

Super User
Super User

Hi @Mjetek404 ,

Have you tested this on your PC? If it works there the issue is your device. We take tens of thousands of photos on over 100 iPads and the camera always works when the screen is entered, whether the first or any subsequent time. Unfortunately there is no Reset property or ability on this control type. One thing to check may be if the camera is being used by something else on the device.


Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Advocate I
Advocate I

Hi @WarrenBelz, we only use android devices in my organization and that's probably the problem. I tested the application for the iPad a while ago and it works as it should. I wonder why this inconvenience is only for android.


See this movie 


You just need to give an extra interrupt for the camera to start working. Consider this termination in code form. Do you have any idea for that?


Frequent Visitor

Hi @Mjetek404 ,


With my organization tablet (Android version 11 ; ONE UI version 3.1)  I have the same problem as you but at the opposite with my personal phone (Android version 10 ; ONE UI version 2.0) it works as well.


Maybe we should change our android version of our device ?

Hi @Mjetek404 ,

I only have one Android device (a Motorola Moto G8+ phone) to test and the camera works fine on that with an app using it.

Regular Visitor

We have the same problem on Android 11 devices

Helper II
Helper II

Same behaviour, galaxy tab A8 android 11 and huawei p10 lite android 8.0. So strange this issue has not be solved, seems like a sort of reset would be enough since it is sufficient to go out and back...

Frequent Visitor


For those who encounter the same issue, let's consider this workaround (not very proper but works 😞 ).


I remarked that when the message appears, switching to front camera then returning to the back solves this issue.

So you can place a variable in the camera property of the control and updating it in a button, something like :


UpdateContext({_defaultCamera : 10;_defaultCamera : 0}).-->use 10 to be sure that the cam doesn't exist.


Ok not very convenient for the user...


Next step. You can implement a Timer with a variable _startTimer for the StartProperty of the timer and a duration of 500 for exemple.

In the calling screen, in the Navigate function, you set the variable to true :




In the OnTimerEnd event, you put now this instruction :




Hope it helps.


P.S : you can't implement this workaround in the OnVisible event of the screen, because the camera control must be displayed in order to work.


Dear Gadsweb,

I had to change the sintax in UpdateContext({_defaultCamera:10});;UpdateContext({_defaultCamera:0}) because it gives me an error if I use the line you sent me and put _defaultCamera in the "Camera". It works and it is enough as workaround. Thanks a lot, you're great!!!

Frequent Visitor

Hi Riki.

I have changed a little bit to be more precise.

With that said, both instructions are doing exactly the same, it's just a question of the language used by PowerApps (in french languague like mine, "," is replaced by ";").

For your issue, maybe your camera has not the same number.

You can place a list with "NameOfTheCamera.AvailableDevices.Id" as the Items property. That way you will see all the devices Id.

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,578)