web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Camera Control not wor...
Power Apps
Answered

Camera Control not working on android device

(1) ShareShare
ReportReport
Posted on by 59

When trying to change the camera from front facing to back facing on an android wont work, but for any IOS devices works perfectly any idea what the problem is?

 

Icon on select: UpdateContext({EnableFront:!EnableFront})

 

Camera: If(EnableFront=true,1,0)

Categories:
I have the same question (0)
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @JukeNuke 

     

    We cannot currently confirm or reproduce for sure your issue with iOS, but it sounds like something that could be true.

     

    If you try a Variable (i.e. Set(Var,something) instead of Context does it still have the issue in iOS?

     

     

  • Verified answer
    timl Profile Picture
    37,283 Super User 2026 Season 2 on at

    Hi @JukeNuke 

    It's possible that for the Android device you're using, Camera ID 1 doesn't correspond to the front camera.

    To debug this, I'd add a slider control to your screen, and set the Max property value to something like 10. Next, set the Camera property of your Camera control to the value of your slider.

    If you now run your app and adjust the slider control, do any of the numeric values result in the front camera working?

     

  • JukeNuke Profile Picture
    59 on at

    The issue isn't with IOS its with the android devices. I found out because the camera functions for android are 3 and 4 and IOS is 1 and 2.  So I just incorporated all of them which isn't ideal since you now have to push the icon 3 times for it to get to the back camera.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard