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 6251295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:35:19+00:00 2026-05-24T13:35:19+00:00

EDIT: After realizing I have to make things public so to speak this is

  • 0

EDIT: After realizing I have to make things public so to speak this is what I attempted to create a folder I could see when plugging the tablet in from my pc and copying stuff over there:

File path = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES) ;
    File theFile = new File(path+"/Portfolio/");
    //if(!theFile.exists())
        theFile.mkdir();

I commented out the if theFile.exists() cause it was always returning true.

So now I have this folder that seems to work, no errors are thrown and the folder should be created in fact I am using
Adao File Manager on the device to browse to this location it is indeed there under /Pictures/Portfolio

but when I plug it into my windows machine, i see /Pictures but no folders underneath it, am i just losing it?

Okay so

I have these little DIR is make on my tablet from my application, to put client files into. I thought I could just connect the tablet up and copy files from my PC to these folder I
had made. The thing is when I plug my acer iconia in, while it shows up and I can browse some files it seems the folder I made in the app using File.mkdir(); is this path:

/sdcard/Android/data/my.softwares.package.name/files/Pictures/somefolders

while I can use a 3rd party file browser app to see this folder does exsist as far as I can tell from windows i can only browse as far as:

/sdcard/Android/data (if im even getting there not sure)…. is this really the case or am I missing something? The code I use to create these folders is:

   String p = Environment.DIRECTORY_PICTURES + "/" + s.getClient().getFirstName()+s.getClient().getLastName() + "/" + s.getPackage().getName() + (mSession.getSessionDate().getMonth()+1)  +  mSession.getSessionDate().getDate() + (mSession.getSessionDate().getYear()+1900);
            File path = mContext.getExternalFilesDir(p);


            if(!path.exists())
                path.mkdir();

Seems no luck here when I plug my tablet into the pc, again only can go as far as Android/data

So this is for a portfolio like program, I want to create a folder on the device, users can copy pictures to from their pc, then the same app that created the folder can read this folder later on after the pictures have all been copied over, so what am I missing since my assumption of windows being able to read everything on the sdcard seems false?

  • 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-05-24T13:35:19+00:00Added an answer on May 24, 2026 at 1:35 pm

    You have created the pictures in the private data area of your app and therefore do not have access to it. That would be a security problem.

    Save the data to a public location like the sdcard. Just read up on external storage.

    http://developer.android.com/guide/topics/data/data-storage.html#filesExternal

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

Sidebar

Related Questions

EDIT After staring at this for 2 days, I do see one issue. I
EDIT: This post was originally specific to ASP.NET, but after thinking about it I'm
[EDIT] I am changing this to more concisely explain what my problem was, after
How can I edit this to run only once after user scroll up: (function
NEW EDIT: I have narrowed my problem to this - i have a view
SEE EDIT UPDATES BELOW. Original question has been modified! I have a working window
* edit * After reinstalling the module, everything worked fine. I have installed a
EDIT: After spending several hours researching this, I don't think I'm going to find
EDIT: After taking adivce I have rearranged the parameters & types. But the application
EDIT: after reading this http://projects.scipy.org/numpy/ticket/1322 it seems that the NumPy version I am using

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.