[英]Create user profiles on the android device like we have accounts on PC
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. 我们能否在Android上创建一个应用程序,以便在设备上创建用户个人资料,然后在设备启动(或开机)时选择一个帐户并输入密码。 Based on the account user apps, settings etc is loaded.
根据帐户用户的应用程序,设置等被加载。 These profiles are same as we have accounts on my PC or laptop.
这些配置文件与我们在PC或笔记本电脑上拥有的帐户相同。
I just want to know weather is this possible on android or not? 我只想知道天气在Android上是否可行?
It is an open research question. 这是一个开放的研究问题。 There are some works where people try to separate different phone profiles, for instance, this .
在某些作品中,人们尝试分离不同的电话资料,例如this 。
The problem actually is the following. 问题实际上是以下。 As you may know Android is built on top of Linux kernel.
如您所知,Android是建立在Linux内核之上的。 You also may know that Linux is multiuser system (you can have several separate accounts).
您可能还知道Linux是多用户系统(您可以拥有多个单独的帐户)。 But in case of Android there is only one actual user possible.
但是在Android的情况下,只能有一个实际用户。 Because Linux user's id are assigned to different applications.
因为Linux用户ID分配给了不同的应用程序。 Ie each application in Android is a separate user.
也就是说,Android中的每个应用程序都是一个单独的用户。 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)
这样做是出于应用程序安全性考虑(在这种情况下,不同的应用程序在单独的虚拟内存空间中运行,因此不会相互影响)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.