kiosk-mode

Can I disable systemui From within my android app?

烈酒焚心 提交于 2019-12-30 04:34:10
问题 I used this answer to achieve a Kiosk Mode for my app: https://stackoverflow.com/a/26013850 I rooted the tablet with Kingo Root and then performed the following commands: adb shell > su > pm disable com.android.systemui > I am building an app that will only be used on our devices as kiosks.... It works great BUT.. I would like to perform the disable and enable of the system ui from the Android application itself. Are system commands possible from within an application? 回答1: /** * Uses Root

Why is this Google Chrome (Hosted) App invalid for Kiosk mode?

混江龙づ霸主 提交于 2019-12-29 08:45:19
问题 I have been trying to make a Kiosk Mode App from my Chrome book. But when I go into the "Manage Kiosk Applications" and enter in the Chrome Store URL for my app, I get a "Invalid Application" error, but if i just install the app from the store, it installs just fine (though it doesn't appear Extension page, but does in the applications menu). So I assume I have done something incorrectly with App manifest. here is my manifest (just changed the names and urls as it's private application) {

How to use Android-L preview Task Locking?

本小妞迷上赌 提交于 2019-12-29 05:23:45
问题 Has anyone got task locking working in Android L? Could they share some details on how it works? I have seen the instructions below, but struggling to understand this. At the moment I have made an App that I would like to run in kiosk mode. I have looked at making it a launcher App or using Surelock but the new task locking looks like it will be the best option in future. I need to create a userdebug build of Android L? I have not built Android from source before, I started looking at making

Call third party app Activity from own App

隐身守侯 提交于 2019-12-25 08:42:50
问题 I have successfully called third party apps from my app Apps like: Google Drive and Google Photos Code: btnL1.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { openApp(KioskActivity.this, "com.google.android.apps.docs"); } }); btnL2.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { openApp(KioskActivity.this, "com.google.android.apps.photos"); } }); public static boolean openApp(Context context, String

Single webapp kiosk mode via Android Management API

笑着哭i 提交于 2019-12-25 01:14:34
问题 I'm trying to apply a policy to a few tablets via the Android Management API. I've been able to create my enterprise, web app, policy, and add the devices without issue. The trouble I'm having is with my policy. I've tried various versions from SO and the documentation, but it's either not locking the tablet down or I'm getting non-compliance errors. Policies I've Tried Version 1 (source) { "version": 1, "applications": [ { "packageName": "com.google.my.webapp", "installType": "KIOSK",

Kiosk App in iOS can we provide any identifer to that app to use from URL scheme.

久未见 提交于 2019-12-24 23:01:35
问题 I wanted, to give some identifier to the app that we create like a kiosk mode in iOS. i.e. We make add to home screen and it has an icon on home page which browse further. Is there any way, where I can give some identifier Name to that link of app getting created so that we can get that app access from our Native and we can provide URL Scheme for the same. Thanks. 回答1: iOS will not give access of all the url schemas. You can refer this document where the url schemas for selected application

Access OSK(on screen keyboard) handle from desktop app without administrator rights

吃可爱长大的小学妹 提交于 2019-12-24 22:40:27
问题 I have a desktop delphi application that runs without administrator rights on windows 7 and 8. This application, needs to send (SendInput) mouse events(click and move) to another running apps. This app works like a driver for a remote wifi pen, that controls mouse over desktop. When the focus is over OSK(on screen keyboard), the mouse move with left key pressed dont work, the osk windows dont move, all others applications move when receive these mouve events. I cand get handle of OSK. When I

Running dpm with Runtime.exec(…)

ε祈祈猫儿з 提交于 2019-12-23 17:27:02
问题 This answer suggests that an Android app can run dpm like this: Runtime.getRuntime().exec("dpm set-device-owner com.test.my_device_owner_app"); This fails silently on my Nexus 4 running 5.1.1. The shell returns an error code of 0 (success) and there is no console output. Despite the apparent success, my app does not become the device owner. The device is fresh from a factory reset, with no user account configured. As a control, I tried running a garbage command instead of dpm . It fails as

Mac Kiosk Mode API - Prevent Users from Quitting

六月ゝ 毕业季﹏ 提交于 2019-12-22 08:52:04
问题 I'm in the process of writing a Mac (10.6 / 10.7) application that authenticates users against an Active Directory domain before allowing them access to the computer (I'm told I can't allow users to log on via traditional log on services). I have the authentication code in place, and am now trying to make this login window fullscreen and unable to close. Apple's Kiosk Mode API (documentation here) seems like a great fit for this, and I've used it to bring the window fullscreen, disable the

How does designing custom android DPC app relate to Android management API?

匆匆过客 提交于 2019-12-21 04:49:59
问题 I'm new to android enterprise development world, and I have some misconception of how different pieces in the android enterprise ecosystem relate to one another. Let me explain. The solution that I'm trying to achieve is being able to lock the device into kiosk mode both remotely, and also based on some business logic do it even when the user is offline. I started investigating EMM and particularly Android Management API to solve the problem. I was able to lock the device remotely into kiosk