kiosk-mode

Disable menu bar in Windows Mobile 6.5

久未见 提交于 2019-12-12 09:39:37
问题 I'm porting .NET application from WM5 to WM6.5. Besides new resolution I noticed different UI behavior for start menu and title bar (caption bar). My application needs to work in kind of kiosk mode where user can't exit application and bypass our authentication. For this purpose on WM5 I was hiding start button and close button. I am using following function: SHFullScreen(hWnd, SHFS_HIDESTARTICON | SHFS_HIDESIPBUTTON); Hiding buttons kind of works on WM6.5 too, but there is another problem.

Prevent kiosk mode webview link from opening new tab

懵懂的女人 提交于 2019-12-12 03:05:37
问题 I've created a chrome app that opens in kiosk mode, inside my chrome app i have a webview which is similar to an iframe except it works for chrome apps. On the website inside the webview there is a link that tries to open in a new tab, and fails.. At the moment it just does nothing when the button is clicked. Is there a way to make all links inside the webview not open in new tabs? Or is there any other work around that you can think of? I firebugged the link and this is what it says (i was

Open other application in startLockTask mode using setLockTaskPackages() string array params in Android 5.0 (Lollipop) is not working

爱⌒轻易说出口 提交于 2019-12-11 15:06:43
问题 Motive: Building a KIOSK App for 5.0 & 6.0+ devices Method followed: adb to run the “dpm set-device-owner” command. By using startLockTask(); my app entered into authorised pin mode successfully. I had other challenge which is, I have to open other of my installed application from KIOSK app. I achieved this by constructing array of string packages and set it to DPM's setLockTaskPackages below is the code sample mDevicePolicyManager.setLockTaskPackages(mAdminComponentName, getKioskApps());

Google Chrome App print slient

浪尽此生 提交于 2019-12-11 08:16:06
问题 It's possible in a Google Chrome App print silent like when Chrome is running in kiosk mode? --kiosk --kiosk-priting 回答1: When you print something in kiosk mode things gets printed automatically to the default printer, silently. Simply call print() in the context of the page you want to print. If you want to print from the background/event page you will need to do something like the following: // ... function closePrint () { document.body.removeChild(this.__container__); } function setPrint (

Removing Android navigation and topbar,

China☆狼群 提交于 2019-12-11 04:56:06
问题 I am trying to implement a Kiosk app on a rooted android device, and I need to disable the navigation and status bar completely. These commands works from adb shell Disable: service call activity 42 s16 com.android.systemui Enable: am startservice -n com.android.systemui/.SystemUIService That's good! Now I need to be able to do it from my app. So to disable I've tried: Process process = Runtime.getRuntime().exec("su service call activity 42 s16 com.android.systemui"); when pressing a button

How to open Firefox in Full Screen mode?

白昼怎懂夜的黑 提交于 2019-12-11 04:39:43
问题 I need to open Firefox on a Mac running Lion in Full Screen mode to act as a kiosk. I was using the R-Kiosk 0.9.0 Firefox Add-on; but, it conflicts with a print javascript I am also running, so I can't use it. Anyone know a way to accomplish this? either with an add-on or, perhaps, with AppleScript? Could an AppleScript be triggered to run when Firefox is opened? 回答1: This should do it: activate application "Firefox" delay 2 tell application "System Events" tell process "Firefox" click menu

Kiosk Mode / Screen Pinning in Android wear

雨燕双飞 提交于 2019-12-11 01:13:00
问题 I am developing an Android wear app for Sony Smartwatch 3 with Android Lollipop and can't seem to find a way implement a working kiosk mode. I've looked everywhere but nothing seems to work. Also tried screen pinning but there isn't an option to do it on the watch (manually) and adding startLockStart() to my onCreate doesn't seem do to anything - I can still exit the app. Any help or confirmation that it is not possible will be greatly appreciated 回答1: Make sure you run Android L MR1 (Android

Android Studio, Kiosk mode, Single-Purpose Devices, Lock Task mode

↘锁芯ラ 提交于 2019-12-10 23:54:27
问题 I'm trying to create a single purpose app. So I have create an BaseActivity that all my activities inherit from it. it's look like public class LockDeviceActivity extends AppCompatActivity { @Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); } private void startLock() { if(mDevicePolicyManager.isLockTaskPermitted(getPackageName())) { /** * If lock task is permitted, we can lock the task. We can use an external DPM like * TestDPC

Android Run another application while task lock

送分小仙女□ 提交于 2019-12-10 13:25:50
问题 I set my application as a device owner and the screen is pinning when i call startLockTask() . my problem now when i try to run another application by using this method : Intent i = getPackageManager().getLaunchIntentForPackage("com.example.test"); startActivityForResult(i,Intent.FLAG_ACTIVITY_NEW_TASK); (nothing happen) what i have to do to make it run? Edit : i tried adding dpm.setLockTaskPackages(deviceAdmin, new String[] { getPackageName() ,"com.example.test"}); its not launching too. 回答1

Firefox browser disable safe mode

一笑奈何 提交于 2019-12-10 10:14:14
问题 I am using Windows 7 and I've been playing with the Firefox browser for a while. I want to create a kiosk app using it, I installed a plugin for that, but the problem is that when I start the Firefox app, if I press Shift, it enters safe mode. I read some guides on Google that tell me to edit chrome/browser.jar but I have no such file in my Firefox folder. I need some help for disabling the feature that lets me enter safe mode by pressing Shift. 回答1: You cannot really disable safe mode by