Permissions from Android Manifest

Android applications operate in their own process and are separated from the rest of the operating system. Because of this, in order to perform some system specific operations, it's required to request them. An example of such permission requests are requests to use Bluetooth, retrieve the current GPS location, send SMS messages, or read from or write to file system. Permissions grant access to various device features. There are several ways to deal with permissions. We will start with a very base using manifest.

First of all, we must determine what permissions are needed. It can happen that during the installation procedure, a user decides not to install an application because there are too many permissions. ...

Get Mastering Android Development with Kotlin now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.