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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:38:28+00:00 2026-05-20T09:38:28+00:00

I have an xml file being written by an app that is set to

  • 0

I have an xml file being written by an app that is set to MODE_PRIVATE, but I now want to read that file outside of the phone, for debugging purposes. In Eclipse, I can access other files made by the app and copy them to my computer, but I can’t even see this private file. Merely changing the file to MODE_WORLD_READABLE file doesn’t seem to help. I think the file is being stored on an internal “SD card” that can not be removed from the phone, but there are also two other folders in the File Explorer that are either empty or inaccessible: asec and secure.

Does anyone know how the file can be accessed?

  • 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-20T09:38:29+00:00Added an answer on May 20, 2026 at 9:38 am

    You will need to connect the phone and do some magic to let your sdk work with it (I think put it in debugging mode?). Go to where you unzipped the android sdk:

    C:\android-sdk_r10-windows\android-sdk-windows\platform-tools>adb shell
    #cd data/data/com.yourpackage.yourapp/files
    #ls
    

    You should see your file listed. You may need to run “ls data/data” if you’re not sure what the fully-qualified name of your app is. From here if the file is small and you just want to see what’s inside it you can run:

    #cat yourfilename.xml
    

    Alternatively:

    #exit
    C:\android-sdk_r10-windows\android-sdk-windows\platform-tools>adb pull /data/data/com.yourpackage.yourapp/files/yourfile.xml
    

    Note: I have only tried this on the emulator, I don’t know how to use adb with a physical phone.

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

Sidebar

Related Questions

I have a xml file that needs to be read from many many times.
I have a windows service that writes out log file entries to an XML
Simple question. I have an XML file with a few dozens of comment blocks.
I have 660000 xml files(with unique file names) in 22 folders. Each folder has
I have written a RIA using flex for the front-end and Java servlet for
Is there a way to define jpa entity classes outside of persistence.xml (i.e. in
I'm working on a web application written in Java using the Tapestry 5.1.0.5 framework.
I am creating a few layouts with the root element being merge . inside
I inherited a data-storage which was using simple text-files to save documents. Documents had
This is my first dive into MSBuild so I'm feeling pretty lost. The end

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.