开发者

How to lock down Android tablet to only allow one app to run [closed]

开发者 https://www.devze.com 2023-04-03 11:37 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. 开发者_如何学运维 Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers. 开发者_如何学运维

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

I am looking at locking down several Android Tablets (Samsung Galaxy tab) to allow the user to unlock the device and be sent straight into one application and not allowed to leave. I was wondering if this is possible without creating a custom ROM and if so how? Any help is greatly appreciated


You might try creating a custom launcher and see how far that gets you. I don't think it will be bulletproof but by adding some hacks like having it auto-launch a specific app, it's probably about as far as you can get without a custom ROM. See here for the code of the stock Android launcher:

https://android.googlesource.com/platform/packages/apps/Launcher/+/master/src/com/android/launcher/Launcher.java


You could create an app that is more or less "non-exitable" by overriding the hardware buttons' default behaviour in your application.

Although if your app crashes and doesn't automatically restart after a crash, the user has full access to the rest of the system.

0

精彩评论

暂无评论...
验证码 换一张
取 消