Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to obtain the permission to external storage?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 274
    Comment on it

    If you are looking to get the permission to access your external storage in android, here is the solution:- you have to add these lines in your manifest file:

    <uses-permission android:name="android.permission.STORAGE" />
    

    To store something via your application in your device like some files, you need to obtain write permisson:

     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    

    To get or access a file of your android device in your application like to get a photo, song etc. , you need to obtain read permisson:

       <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: