Tag Archives: PackageManager.PERMISSION_GRANTED

Working with SMS in Android, Read Messages from Inbox and Get Notified on new Incoming messages

By | March 20, 2018

Permissions Add these two permissions in the Android Manifest Read SMS from Inbox Reading SMS from inbox is not a big task, but your user needs to allow it if you app is running on Marhmallow or more. if you app is below marshmallow, then you wont need it. But here we will write one code for both… Read More »

Simple Example on using CAMERA Access permission in versions greater than Android Marshmallow.

By | July 29, 2016

Below example asks for camera permission in versions greater than Android Marshmallow. Add Camera permission to the manifest For asking for permission you can call like this. To Check if the user has permission to access camera.   Now the Callback if the User has performed any action. if the user clicks “Never ask again” then check below… Read More »