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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:18:34+00:00 2026-06-15T09:18:34+00:00

Sometimes, while I run a development version of an app, I want to export

  • 0

Sometimes, while I run a development version of an app, I want to export the database so I can copy it over to a desktop, view the database there and ensure it is being edited correctly.

Normally I will call Environment.getExternalStorageDirectory() and copy the database there. However, Jellybean on the Galaxy Nexus threw me for a loop–I could not see the file via MTP! (Mac OS X File Transfer). If I use Wifi File Explorer to browse the files on the device, then I see the database file.

After doing some research, I’m guessing this is due to Jellybean’s simulated user-specific external storage. That would be why it tells me it’s writing to /storage/emulated/0/ instead of /sdcard for example.

Is there a way to tell Android “write this file to where it is world-readable (including MTP) instead of only making it available to apps run under the same user”?

  • 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-15T09:18:36+00:00Added an answer on June 15, 2026 at 9:18 am

    I had the same problem. I couldn’t see a txt file I’d written in the ‘Download’ folder with ‘Android File Transfer’. The only solution I’ve found is to write an extra .txt file in the same folder where you write your file, then open that folder in an app like ‘Astro File Manager’ and delete the extra file. Now open ‘Android File Transfer’, close it, and open it again. Your desired file should appear now.

    I use /storage/emulated/0/Download/ as path but it should work in any other folder.

    I know it’s not the perfect solution but for now it’s all I have.
    Hope this will work for you too!

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

Sidebar

Related Questions

Sometimes, while I'm watching my program run, I'll want to set a breakpoint with
Sometimes when I open my app (either while resuming it after it was dormant
While using Vim I'll sometimes want to look at a function definition or a
Sometimes I'm going nuts over different query execution plans in development, integration tests, and
Possible Duplicate: Why are there sometimes meaningless do/while and if/else statements in C/C++ macros?
Sometimes while writing Java in Eclipse, I write code that generates warnings. A common
Sometimes it is useful to enumerate a list while it is changing. e.g. foreach
While browsing SO I sometimes see EOFD for example: ftp -vn <$hostname> <<EOFD Yes
While working with ssh I sometimes write to long string/commands eg. command -param 3
While working with NSDate, sometimes the time zones are different. But I don't mess

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.