Permission is the right given to an application by Android to allow access to restricted system API (Application Programming Interface) such as Camera, Bluetooth, GPS, etc…
What is the purpose of adding the following permission tag to your app's AndroidManifest.xml file?
Allows the application to access internet .
Allows the application to access external storage.
getExternalFilesDir( ) method is used to get the directory of the external storage.