Is there any possibility to start another 3rd party app locked down in Kiosk Mode on Android L? It would be great to be able to do such a thing without the use of root access. But if this is not possible without the use of root access, it would also be a solution to me.
I've successfully developed an app which is the device owner on my device and can use the startLockTask() method to lock itself down into Kiosk Mode.
If you can lock your own app down in kiosk mode, you can probably launch another app by
Intent()with someflagsindicating the intent is hosted by your activity to continue your kiosk. You will also have to mess around with the launch mode your app is running in the AndroidManifest. Mess around withsingleTop,singleTaskandsingleInstanceuntil you find what you want.singleTopshould be the one you're looking for, but it's hard to discern.If all else fails, you can always launch your intent and then do a 'adb kill SystemUI' kind of thing through
exec("su")in order to kill the status bar, softkeys&hardkeys, and navigation. Depending on device, SystemUI will probably restart itself. You can use a Timer though. Dirty workaround, but that's what kiosk is all about. For code, you can use the answer here: exec su inside Android appHope I helped,