在 Android 设备上创建用户配置文件,就像我们在 PC 上拥有帐户一样

发布于 2025-01-01 23:04:07 字数 161 浏览 2 评论 0原文

我们可以在 Android 上创建一个应用程序,在该应用程序中我们可以在设备上创建用户配置文件,当设备启动(或开机)时,用户选择一个帐户并输入密码。根据帐户加载用户应用程序、设置等。这些配置文件与我们在 PC 或笔记本电脑上的帐户相同。

我只是想知道 Android 上是否可以实现天气功能?

Can we create an app on Android where we can create user profile on the device and when the device start (or powered on) then user selects an account and enter password. Based on the account user apps, settings etc is loaded. These profiles are same as we have accounts on my PC or laptop.

I just want to know weather is this possible on android or not?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你丑哭了我 2025-01-08 23:04:07

这是一个开放的研究问题。在某些作品中,人们尝试分离不同的手机配置文件,例如this

问题实际上如下。您可能知道 Android 是构建在 Linux 内核之上的。您可能还知道 Linux 是多用户系统(您可以拥有多个单独的帐户)。但对于 Android,只有一个实际用户可能。因为Linux用户的id被分配给不同的应用程序。即Android 中的每个应用程序都是一个单独的用户。这样做是为了应用程序的安全性(在这种情况下,不同的应用程序运行在单独的虚拟内存空间中,因此不会相互影响)

It is an open research question. There are some works where people try to separate different phone profiles, for instance, this.

The problem actually is the following. As you may know Android is built on top of Linux kernel. You also may know that Linux is multiuser system (you can have several separate accounts). But in case of Android there is only one actual user possible. Because Linux user's id are assigned to different applications. I.e. each application in Android is a separate user. This is done for the sake of security of applications (different applications in this case are run in separate virtual memory spaces and, thus, cannot influence on each other)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文