December 2013
Intermediate to advanced
350 pages
8h 1m
English
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.xml file in your application project folder under res/values/strings.xml:<string ...
Read now
Unlock full access