Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8273831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T07:34:49+00:00 2026-06-08T07:34:49+00:00

I have an android tablet where external SD card called /mnt/extsd and its internal

  • 0

I have an android tablet where external SD card called “/mnt/extsd” and its internal storage called “/mnt/sdcard”.

When I am try to create a folder in “/mnt/sdcard” by the following code. Application successfully creates folder in root directory, while I try to create folder in “/mnt/extsd” it toast an exception “open failed: EACCESS (Permission denied)”

    // create a File object for the parent directory
    File root_directory = new File("/mnt/extsd/abc/");
    // have the object build the directory structure, if needed.
    root_directory.mkdirs();
    // create a File object for the output file
    File outputFile = new File(root_directory, "abc_checking");
    // now attach the OutputStream to the file object, instead of a String representation
    try {
        FileOutputStream fos = new FileOutputStream(outputFile);
    } catch (FileNotFoundException e) {
        // TODO Auto-generated catch block
        Utility.showDialogue(getActivity(), e.getMessage() + "");
    }

Manifest

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

Any help from you guys will be very appreciable. Please HELP…:(

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T07:34:51+00:00Added an answer on June 8, 2026 at 7:34 am

    If Environment.getExternalStorageDirectory() returns /mnt/sdcard/, then that is the external storage that you should be using in your application. While your device may have other mount points (e.g., /mnt/extsd/), those are not part of the Android SDK and will be more or less unique to your specific device. You will need to contact your device’s manufacturer to ask them if there is a way you can use /mnt/extsd/ from a regular SDK application.

    If you have root access, you might be able to work around this by changing permissions on /mnt/extsd/, but that is not really a programming topic and therefore is beyond the scope of StackOverflow.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have 3 .apk files in the Android folder on my xoom tablet but
I have an Android app which by preference uses external storage if available to
We have a usb port in our android tablet(version 4.0.3). How do we find
I have to develop an application for an Android Tablet. This will do the
I have already some applets ready. I tried to run it on android tablet.
I have a Motorola Xoom tablet of Android and I am facing the problem
I'm developing an Android 3.1 Tablet application which uses SQLite 3. I have these
Recently I became the proud owner of an Android 4.0 tablet and have been
I have a project for visualizing some data on tablet. I'll probably use android
I have developed an application that is to be run on android Tablet as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.