Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a Application Sandwork in android and how it works?

I am new to android app development and while reading from google's android documentation I came across android sandbox. Explanation to this term is not clearly given there so I tried searching the internet but couldn't find anything satisfying. I know that it is something related to security provided by linux kernel in android. Can anyone please explain me clearly what is sandbox and how it works as it seems to be quite an important topic .

like image 548
Shivam Aggarwal Avatar asked Jul 21 '15 06:07

Shivam Aggarwal


1 Answers

Android applications run on a VM (Virtual Machine), and are completely isolated one from another due to the permissions Android gives each app. Basically each application on android is a separate user, and they have their own space on the "disk". That means Applications cannot access each other's space, Cannot uninstall or mess with each others data.

Only one user has access to OS and all applications, it's the root. So when people "root" their phone, they basically get root permissions, and can mess with every application including system services and libraries. But that's off topic

like image 72
Michael P Avatar answered Oct 18 '22 20:10

Michael P