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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:08:16+00:00 2026-06-03T02:08:16+00:00

I am working on an app that writes the response of a server in

  • 0

I am working on an app that writes the response of a server in an xml file, created and saved on the device.
In development, DDMS I can see and Use the file in /data/data/my.package/files/test.xml
Because I am trying to test something on a real device and don’t want to make a request to the server I wanted to copy-paste by hand the test.xml in the device(tablet), like this:
root/created data folder/created data folder/created my.package folder/created files folder/put my test.xml here. Tried different options to put the test.xml in the same place with the .apk etc. I still get file not found on the device.
In code I simply get the file like this:

context.openFileInput("test.xml"); // on the emulator works.

Should it look in data/data/my.package/test.xml?
If so, why on tablet if i create the same path in Android device shouldn’t I find the file ?

I hope I wasn’t confusing, any ideas would be great. Thank you.

  • 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-03T02:08:18+00:00Added an answer on June 3, 2026 at 2:08 am

    You should have put it in /data/data/your.package/files/test.xml (note the files part)

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

Sidebar

Related Questions

am working on a java(tomcat) app. that sometimes writes to stdout. But I notice
I'm working on an App that runs a webservice hosted an Android device. I'm
I'm working on an android app that writes and reads .PNG files from sdcard.
I'm working on an app that writes data out to a .plist from a
I'm working on an app that downloads resources and writes them to disk for
Im working on an app that now has to go to a URL online
I'm working on an app that works out debts and who owes what to
I'm working on an app that creates an user profile. I need to be
I am working on an app that takes a picture and saves it to
I'm working on an app that does some web scraping. In the sites model,

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.