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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:58:14+00:00 2026-05-23T13:58:14+00:00

In my application, I create files and write them to the Sdcard. My created

  • 0

In my application, I create files and write them to the Sdcard. My created files show properly in DDMS, and in windows explorer when I mount my Samsung Galaxy as a USB device. But, they do not show in Windows explorer on my Acer Iconia Tab A500, when it is connected by USB. I assume this is due to some difference in 3.0? Do I need to create my files differently in 3.0 so that they show in Windows by usb?

  • 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-23T13:58:14+00:00Added an answer on May 23, 2026 at 1:58 pm

    Sending this intent after writing the file solved the issue. Credit goes to Commons Guy, he provided the answer on another forum.

    sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://"
                + Environment.getExternalStorageDirectory()))); 
    

    Edit: Commons Guy did comment that sending a fake intent (like above) is probably a bad idea, so I used this instead:

       //called after writing file, from my activity 
        new SingleMediaScanner(this, path); 
    
        private class SingleMediaScanner implements MediaScannerConnectionClient 
        { 
                private MediaScannerConnection mMs; 
                private String path; 
                SingleMediaScanner(Context context, String f) 
                { 
                    mPath = f; 
                    mMs = new MediaScannerConnection(context, this); 
                    mMs.connect(); 
                } 
                @Override 
                public void onMediaScannerConnected() 
                { 
                    mMs.scanFile(mFile, null); 
                } 
                @Override 
                public void onScanCompleted(String path, Uri uri) 
                { 
                    mMs.disconnect(); 
                } 
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My application allows users to create and modify files. I would like them to
I have built a MS Access 2007 application that can create reports files in
In a simple winform application, I call a function that endlessy create files on
is it possible to create a java application that will import excel files .
I have created a small application which opens,reads and creates Excel files. The app
We want to be able to create log files from our Java application which
Currently my application takes in a text file/files, parses them into another file type
We are developing a little application that given a directory with PDF files creates
when i publish an app in vb.net it creates some files: application files directory,
In VS2008, I go to File/New/Project, select ASP.NET Web Application and create a new

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.