Enable Built in Camera within Kiosk Mode

JH
Joshua High
Harris Teeter

MobiControl 13.4, Samsung Galaxy Tab A (SM-T510), Android 9.0, Android+

I have an in-house developed app that allows my end users to call the default camera app & take a picture of a document, crop it, adjust the brightness & contrast, then returns that image to the original app to upload to our proprietary system. My app and its ability to call the camera, take the picture and send the document all work fine with MobiControl installed & the device not in Kiosk Mode, or if there is an explicit link in Kiosk Mode to launch the camera (Launch://com.sec.android.app.camera).

I do not want users to access the camera directly, only from inside the app so I have removed the link in Kiosk mode and unchecked Samsung Package Disabling in Advanced Lockdown Settings in Kiosk Mode settings. This seems to allow the camera, but the camera crashes and resets the tablet back to the Kiosk launcher view.

I got to this point by referencing these two threads here and reproducing the steps for these solutions:

https://discussions.soti.net/thread/how-do-i-enable-the-camera-app-and-gallery-while-the-device-is-in-lockdown-kiosk-mode-on-a-tc77/

https://discussions.soti.net/thread/enable-camera-in-lockdown/?reply=9b398a2d-2ca7-4142-ba08-c03cf59bea6a#createpost

Is there any way around having to explicitly link the camera app since there is no true single app mode for android apps like there is for iOS apps?

6 years ago
Android
ANSWERS
JH
Joshua High
6 years ago (edited 6 years ago)

I am not sure if this is more a workaround or solution but I figured out how to solve my problem.

Went to the profile>configurations>lockdown>device control and added Launch://com.sec.android.app.camera

Next I made a custom template based on the original android/Desktop Lockdown template and applied it. Now this is where the magic happens. In the body of the html under the first row div in the Main div i just commented out the <li></li> that referenced the link to the camera (example below)

 <!-- Uncomment below to get link to camera back -->  <!-- <li><A href ="<MCLink1>"><img src="<MCDispImg1>" /><div class="txt"><MCDISP1></div></a></li> -->   This got rid of the link on the front end, but still allowed the camera to be accessed fully by the app. This solution works for me. Hopefully this will help anyone else out there with homebrewed apps that reference other apps that need access in kiosk mode, but the apps referenced by the parent app should not be given direct access to by the end user.
JB
James Beeching
6 years ago

I have had this issue before as well. If you add the camera in as "Launch://com.sec.android.app.camera" but make say the third menu option an a html template that only shows 2 buttons. It allows the application to launch and stay open but not be called from the kiosk.

James