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 cap...
Power Apps
Answered

Camera control not capturing image in browser or desktop app

(0) ShareShare
ReportReport
Posted on by 50

Hi, i've looked around for posts on this for a while now and I can see alot of posts from people having issue with camera control in browser, the black screen and notification that "your camera isnt properly set up or already in use".

 

However I have a different issue here.

The camera control is working and its showing an image when I open in it in either a browser or the windows store app.

But It just wont capture the image, I click around all over the place and it just doesnt take the picture.

The way it takes the picture is with cameracontrols OnSelect property.

I also added a button that runs the same code as the OnSelect property, it navigates to the page like its supposed to but does not capture the image.

 

This all works on mobile devices, so I have no idea why this isnt working on laptop.

The OnSelect Property of the camera control is this

ClearCollect(
 PICTEST,
 Camera1.Photo
);
Set(
 varBild,
 First(PICTEST).Url
);
Navigate(TagenBild)

 

It captures the image and on the next screen you can decide if you like to save the image or not.

I run on version 3.18054.42

 

Any ideas?

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,750 Most Valuable Professional on at

    Hi @drwaz ,

    Set the Camera StreamRate to 100 and put this on the Button

    ClearCollect(
     PICTEST,
     Camera1.Stream
    )

    The issue you have is the camera photo does not exist until it it taken by the camera control with its own OnSelect.

     

    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.

    Visit my blog Practical Power Apps

     

     

  • drwaz Profile Picture
    50 on at

    Thanks, i must have left my brain in bed this morning. Of course thats how it is.

    Cheers for waking my mind up!

     

  • WoLe98 Profile Picture
    16 on at

    Hi @WarrenBelz ,

     

    I followed the same procedure as you explained, however it doesn't seem to work in my browser. Before it did work and that is why I know find it weird that is does not work anymore, do you have a clue by looking at the following code/properties?

     

    CameraControl with properties:

    OnSelect: False

    Streamrate: 100

     

    Button (for taking picture) with properties:

    ClearCollect(_varTakenPhoto, CameraTest.Stream)

     

    Image with properties:

    First(_varTakenPhoto).Url

     

    Cheers,

    Wouter

  • WarrenBelz Profile Picture
    156,750 Most Valuable Professional on at

    @WoLe98 ,

    Nothing wrong with your code - just tested it here with your exact names and it worked perfectly.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard