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 .
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With