The Android platform defines a set of default permissions, which are used to secure system services and application components. Largely, these permissions work in the most generic case, but often when sharing bespoke functionality or components between applications it will require a more tailored use of the permissions framework. This is facilitated by defining custom permissions.
This recipe demonstrates how you can define your own custom permissions.
Let's get started!
strings.xmlfile in your application project folder under