How to know external storage memory card

245 views.

How to know external storage memory card is available or not in android device with Marshmallow permission support.

Memory card also known as external storage is very import for android mobile phones because it gives the facility to their users to increase the storage capacity of mobile device. So in this tutorial we are going to Detect Check SD Card is present or not in android. The access of external storage memory need WRITE_EXTERNAL_STORAGE permission so for our users we will also implementing Marshmallow run time permission request method hence this tutorial will work on any android platform.

activity_main.xml

MainActivity.java

Manifest.xml

 

You may also like...

Leave a Reply