cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ragha
Frequent Visitor

PowerApps Camera Capture doesn't work in Mobile Phone but works in Desktop

Hi,

 

I have an app in PowerApps that uses Camera control to capture images. This worked well on the desktop but clicking an image on my mobile phone would just hang the app still and wouldn't let me do anything with the App. Can anyone help?

2 ACCEPTED SOLUTIONS

Accepted Solutions

I have a gallery in my camera screen. I deleted it and recreated the gallery. This resolved the problem for me.

View solution in original post

disabled everything around, same error occured.

 

problem was the camera-function itself.

 

problem solved by

deleting camera and put same control in the same way inside the app again.

 

I hate this kind of errors!

View solution in original post

12 REPLIES 12
PaulD1
Super User
Super User

Is your mobile device managed by inTune?

Recently we have been experiencing issues with certain combinations of versions of the Android InTune App and Power Apps Player App causing the camera 'viewer' to freeze when the screen containing the camera control is opened.

 

Ragha
Frequent Visitor

Hey, thanks for the quick response. My device is not Intune managed. 

I have an Android Phone. And OnSelect of Camera I have - If(CountRows(CameraPhotos)=1,DisplayMode.Disabled,DisplayMode.Edit)

I believe you want your formula on the 'DisplayMode' property, not the 'OnSelect' action.

Ragha
Frequent Visitor

Oh I'm sorry, I have it in my displaymode property. Mistyped here.
Ragha
Frequent Visitor

It works in an iPad also. It did not work in a pixel and a Samsung phone.

no live picture, only flickering picture made during opening the camera / last made camera photo (onclick)

 

NOT OK, problems occur on:

Samsung S8 - Android 9 - actual Powerapps App

Samsung ActiveTab2 - Android 9 - actual Powerapps App

 

OK, same app works good on:

Lenovo Thinkpad E470 with Powerapps Studio

 

I have a gallery in my camera screen. I deleted it and recreated the gallery. This resolved the problem for me.

I have no gallery, only an image control, but after deleting it, same problem as before.

 

my camera1.onselsect is:

UpdateContext({takepic:Camera1.Photo});;Set(visibilityUploadPicButton;true)

same problem when using

 

camera1.onselect = Set(varpic;Self.Photo);;Set(visUppic;true)

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

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

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 (4,340)