bannerimage
Android kiosk mode

For organizations that have inquiries concerning utilizing cell phones and tablets as a feature of their portability procedures due to stresses over security and diverted workers, Google trusts it’s Android Kiosks will be the appropriate response.

There is approx 2.3 billion Android cell phones users present worldwide and Android keeps 75% part of the all global mobile devices usage. Given its usability, adaptability, the dimension of customization, and lower costs, Android gadgets are likewise the decision for some undertakings and associations.

Be that as it may, for some organizations, Androids are not viewed as sufficiently secure for use in the working environment — or, similar to every single cell phone, give such a large number of diversions. Google is attempting to fix that observation with Android Kiosks, a mode that guarantees included security and fewer redirections.

Each organization that receives a venture portability procedure has a particular arrangement of utilization cases that they anticipate that their representatives should perform from a gadget. Be that as it may, having an excessive number of nonwork highlights accessible on the gadgets can cause a decrease in efficiency since workers might sit around idly doing different things.

What is Android Kiosk mode?

Android Kiosks are basically the gadgets that are intended to run a solitary application and to serve a particular use case. To make or empower a protected stand mode in any Android gadget, a couple of Android highlights should be handicapped. For any Android gadget to work in stand mode, it is fundamental to secure the gadget and limit the client to a particular application without the choice to close it or change to another application.

Here are a portion of the fundamental necessities expected to run an Android gadget in Kiosk mode:

  • Limiting to a solitary application to serve a particular use case.
  • Concealing the navigational catch (home and late applications) in Android.
  • Incapacitating status bar.
  • Controling or hindering all ways to settings.
  • Killing calls/messages according to the utilization case.
  • Application to keep running in a full-screen mode.

How to create an app in Kiosk mode

1) Create an XML file in the xml resource folder. Set user policies according to need for more info go to https://developer.android.com/reference/android/app/admin/DeviceAdminInfo.html

xml kiosk

2) Set up xml file as a receiver in manifest file.

manifest

3) Set permission for device admins. Along with it if you want to upgrade or delete app in kiosk mode.

permissions

4) Create a My admin class.

admin

5) Set up policy manager code in initial activity of the app. (Ex.) Splash screen. Also, add package name of other app to access them along with our app. Like teamviewer package name added.

Enable kiosk mode to true or false enableKioskMode() method. By disabling it we can access phone in kiosk mode.

policy manager code
enable kiosk mode

6) First take backup of phone and remove all the accounts from the phone like gmail, samsung, etc from settings screen.

7) To make phone kiosk fire command from android studio terminal or command prompt:
Attach your phone with computer enable debugging mode.

adb shell dpm set-device-owner com.techno.***/com.techno.***. MyAdmin

Set path according to your package name and location of Myadmin class.

8) To remove kiosk fire command.

adb shell dpm remove-active-admin com.techno.***/com.techno.***/.MyAdmin

This thing will work on not. If it doesn’t factory reset the phone.

Technostacks is a top mobile app development company in India and if you are looking for a trusted app development firm for your business project requirement then contact us now.

Written By : Umesh (Android Team Lead)
Leave Comments

7 + 2 =

About Us

Technostacks, reputed IT Company in India, has successfully carved its niche within a few years of its inception….

LET'S DISCUSS