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 »
This is so simple 1. Go to your Google + account (https://plus.google.com/). 2. Click on the Profile icon on the Left. 3. If you look at the URL in the address bar, it should look something like this: https://plus.google.com/104653270154306099169/posts 4. The long numerical string in the URL is your Google+ ID. Here is CoderzHeaven’s from the URL above:… Read More »
Here is a simple Application on how to use flashlight in android. Now the layout file main.xml. AndroiManifest.xml file contents. Make sure to add the permissions. Download the android java source code from here. please leave your valuable comments on this post.