是否支持Android锁定到一个完全更换界面? [英] Does Android support lock-down to a fully replaced interface?

查看:128
本文介绍了是否支持Android锁定到一个完全更换界面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么?这个问题是关于如何利用Android的硬件和操作系统的peice的,并把它变成一个接口。这将是我们自己的硬件,永远不会离开大楼,并运行我们创建的任何程序。 为什么?的Andr​​oid已经内置备用电池,防盗检测(GPS),和优雅的触摸屏,以及熟悉的编程接口。

What For? This question is about how to take a peice of Android hardware and OS and turn it into an interface. It would be our own hardware, never leave the building, and run any program we create. Why? The Android has built in battery backup, theft detection (GPS), and an elegant touch screen, and a familiar programming interface.

我要什么:


  1. 我可否要求,无论是什么pssed在屏幕上$ P $,用户永远不会离开我的应用程序?

  1. Can I require that no matter what is pressed on the screen, the user never leaves my app?

是否有说明,以做到这一点,是不是正式支持 或我将不得不开始劈砍而去? (使用系统级接口,消除语音激活(当用户按下搜索按钮),关闭自动更新等)

Are there instructions to do this, is it officially supported, or would I have to start hacking away? (using a system-level interface, removing voice activation (when a user holds down the Search button), disable auto updates, etc)

在理想情况下,我想只写一个单一的应用程序,它取代了整个界面,我想办法挂钩的应用程序,无需大量额外工作(生根手机和手动删除特定的内置应用程序)。

Ideally, I want to just write a single app that replaces the whole interface, and I want a way to hook the app in, without a bunch of extra work (rooting the phone and manually removing certain built-in apps).

我也想将USB锁定在充电专用模式,以prevent没有我的应用程序的批准文件系统的安装。我不关心谁打开了该设备并安装内部存储设备的文件系统中的真定人。

I would also want to lock the USB into a "Charge-only" mode, to prevent mounting of the file system without my app's approval. I am not concerned about a really determined guy who opens up the device and mounts the internal storage unit's filesystem.

在一个崩溃的情况下,我想有决定是否重新启动第一个应用程序,第二个应用程序

In the event of a crash, I would like to have a second app that decides whether or not to restart the first app.

显然,我不想让手机变得不可用,哪怕它只是备用硬件。

Obviously, I don't want the phone to become unusable, even if it is just spare hardware.

推荐答案

不是真的。

您可以实现您的应用程序能够接收主屏幕意图,从而使器件导通时,或者你打的Home键,它得到的意图。但是,那么你有股票主屏幕和应用程序对于那些意图注册,以及设备的用户获得决定哪些,这些将成为默认的处理程序。

You can implement your application to receive home screen Intents, so that when the device turns on, or you hit the home key, it gets the Intent. However, then you have the stock home screen and your application registered for those Intents, and the user of the device gets to decide which of these will be the default handler.

有关你的第三点,应用程序崩溃是由操作系统Android中的现代版本处理。这是可能在旧版本中,我相信,但现在不是了。

For your third point, app crashes are handled by the OS in modern versions of Android. This was possible in older versions, I believe, but not anymore.

这就是你可以用普通的Andr​​oid做的最好的。如果你想要做的多的是,你必须修改系统本身。你也无法控制/限制访问的USB端口你描述不修改内核的方式。

That's the best you can do with stock Android. If you want to do more than that, you've got to modify the system itself. You also cannot control/restrict access to the USB port in the manner you describe without modifying the kernel.

这篇关于是否支持Android锁定到一个完全更换界面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆