October 2018
Intermediate to advanced
464 pages
15h 17m
English
As we discussed in the introduction, using the CALL_PHONE Intent requires the appropriate permission. We add the required permission to the manifest in step 1 and use the method in step 3 to verify the permission before actually calling the Intent in step 4. Starting with Android 6.0 Marshmallow (API 23), permissions are no longer granted during installation. Therefore, we check whether the application has permission before attempting to dial.