kiosk-mode

Android Kiosk Mode - Allow Exit

人盡茶涼 提交于 2019-12-05 00:11:27
问题 I am writing Android application for kiosk mode. I am using this tutorial to create kiosk mode: http://www.andreas-schrade.de/2015/02/16/android-tutorial-how-to-create-a-kiosk-mode-in-android/ However, in the tutorial, the user still can click on home and then the application back after 2 seconds. So, I did a bit of modification to disable the home button by making my application as a home. I did it by put this in my manifest: <activity android:name=".MainActivity" android:launchMode=

Enabling KioskMode in Android 4.4.2 with Root

[亡魂溺海] 提交于 2019-12-05 00:03:53
问题 I was able to enable kiosk mode in pre-KitKat-releases by killing the com.android.systemui process. Anyhow, this seems not to work in KitKat-releases: After killing the process the whole screen got stuck and I am not able to press any buttons. After inspecting similar apps from the Play Store I saw recent updates providing a compatibility for KitKat (e.g. Sure lock demo link). Can somebody explain this KitKat-compatibility? Can somebody name a new way to hide the navigation and status bar in

How to build software limiting user action to one single App on Android?

戏子无情 提交于 2019-12-04 14:36:59
I want to build an app for android and ensure that the user can only use this app. (i.e. user should not be able to open or install any other app.) Is it possible to force such restrictions on an Android device ? And if it is where should I start ? What you are looking for is called the "kiosk mode" (just to help you googling the appropriate term). There is no such thing in the standard android api (at least... not yet : see the Edit ). User always have the ability to press the home button to come back to the Home application. But solutions exists: Writing an Home app This solution is a little

How to stop “holding the back button” from escaping “Lock Task mode” on Android 7+

眉间皱痕 提交于 2019-12-04 13:06:30
I'm attempting to use "Lock Task mode", as described on https://developer.android.com/work/cosu.html My goal is to have a single app running in a "kiosk mode", so that the user cannot leave the app. I'm using Google's "Test DPC" app from Google Play as the DPC, which I have made the owner of the device via: adb shell dpm set-device-owner com.afwsamples.testdpc/.DeviceAdminReceiver . It all works really well at keeping a trivial app (which calls startLockTask() ) in kiosk mode. (I have added this trivial app to Test DPCs list of apps which are allowed to use "Lock Task mode".) The problem is

Run Chrome kiosk mode in windows 10 assigned access

你。 提交于 2019-12-04 08:39:43
It is a good news that Windows 10 assigned access support running Desktop Application(Win 8.1 only support running universal apps). I want to run Chrome's kiosk mode using --kiosk in command line. The bottom of this article have a tutorial. https://technet.microsoft.com/en-us/library/mt219051(v=vs.85).aspx However, I am very new to Powershell. Can anyone explain how to launch Chrome's kiosk mode by powershell? My command line is "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --kiosk http://my.website.com how to use the script at the bottom of the article? Thanks. This worked for

Android Disable Recent Task Button like in SureLock

陌路散爱 提交于 2019-12-04 06:24:24
Anyone who knows how to disable the Recent Task App Button when it launches the allowed application in the app just like in SureLock Kiosk Lockdown ? If so, can you please provide codes for that? From the source public void onWindowFocusChanged(boolean hasFocus) { super.onWindowFocusChanged(hasFocus); Log.d("Focus debug", "Focus changed !"); if(!hasFocus) { Log.d("Focus debug", "Lost focus !"); Intent closeDialog = new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS); sendBroadcast(closeDialog); } } For disabling Recent button add this code to your Main activity: @Override public void

OTA updates for Device Owner Android Application(Kiosk mode)

这一生的挚爱 提交于 2019-12-03 15:14:13
问题 I am able to make my app, the device owner app through NFC as mentioned here. Now I want to update my app over the air, but I couldn't find a method without rooting . Google is providing many options for enterprises to develop apps as mentioned here, but nowhere providing a way to update the application through OTA. Looking for a solution. 回答1: This is just pure speculation as I've never tried to use the package installer API myself: You could try to set an installer package for your device

Enabling KioskMode in Android 4.4.2 with Root

倾然丶 夕夏残阳落幕 提交于 2019-12-03 15:11:53
I was able to enable kiosk mode in pre-KitKat-releases by killing the com.android.systemui process. Anyhow, this seems not to work in KitKat-releases: After killing the process the whole screen got stuck and I am not able to press any buttons. After inspecting similar apps from the Play Store I saw recent updates providing a compatibility for KitKat (e.g. Sure lock demo link ). Can somebody explain this KitKat-compatibility? Can somebody name a new way to hide the navigation and status bar in KitKat-releases with root priviledges? Best regards in advance, Greeny May be you can give a try with

Making a .NET application the only program which can run?

▼魔方 西西 提交于 2019-12-03 09:43:18
问题 What would be the best way to make a Windows .NET application be the only program that can be used on a computer? I have come across timers or events to switch windows back to a window with matching text and some api32 calls to make a form top most. Is it possible to make an application like the windows lock screen where nothing can be done except that what is on screen? I want to block users from doing other things and only let administrators get to the desktop. 回答1: You need to run your

OTA updates for Device Owner Android Application(Kiosk mode)

て烟熏妆下的殇ゞ 提交于 2019-12-03 05:50:21
I am able to make my app, the device owner app through NFC as mentioned here . Now I want to update my app over the air, but I couldn't find a method without rooting . Google is providing many options for enterprises to develop apps as mentioned here , but nowhere providing a way to update the application through OTA. Looking for a solution. This is just pure speculation as I've never tried to use the package installer API myself: You could try to set an installer package for your device owner app (using PackageManager.setInstallerPackageName() ). This installer package would need to be a