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

  • Home
  • SEARCH
  • 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 8973635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:29:30+00:00 2026-06-15T18:29:30+00:00

I try to write string to file in my class, extends AsyncTask: protected void

  • 0

I try to write string to file in my class, extends AsyncTask:

protected void onPostExecute(String result) {
            super.onPostExecute(result);
            DataOutputStream out = null;
            try {
                out = new DataOutputStream(openFileOutput("1xdf.xml", Context.MODE_PRIVATE));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            }
            for (int i=0; i<20; i++) {
                try {
                    out.writeUTF(Integer.toString(i));
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            try {
                out.close();
                Log.e(DEBUG_TAG, "6x");
            } catch (IOException e) {
                e.printStackTrace();
            }

        }

Where can I finde this file in DDMs? When I try search->file 1xdf.xml, I get

Problems encountered during text search. File
‘MainActivity/bin/jarlist.cache’ has been skipped, problem while
reading: (‘Resource is out of sync with the file system:
‘/MainActivity/bin/jarlist.cache’.’). Resource is out of sync with the
file system: ‘/MainActivity/bin/jarlist.cache’.

  • 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-15T18:29:31+00:00Added an answer on June 15, 2026 at 6:29 pm

    In the DDMS perspective in Eclipse, select the ‘File Explorer’ tab and then open the following path:

    data/data/com.your.package.name.here/files/1xdf.xml
    

    Where ‘com.your.package.name.here’ is the name of your project’s package / application name. If you want to move the file to your file system, select the ‘Pull a file from the device’ button on the top right (looks like a floppy disk with a pink arrow pointing to the left) and select the directory on your computer where you want to save the file.

    If you want to manually load a file onto your virtual device, use the button to the right of the one above (that looks like a right facing arrow pointing to a phone).

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

Sidebar

Related Questions

class Asenkron extends AsyncTask<String,Integer,Long> { @Override protected Long doInBackground(String... aurl) { FTPClient con=null; try
private class DownloadLargeFileTask extends AsyncTask<Void, Void, Void> { private final ProgressDialog dialog; public DownloadLargeFileTask(ProgressDialog
When I try to write UTF-8 Strings into an XML file using DOMDocument it
I try to write DSL class Warcraft class << self def config unless @instance
This is my .java code public class MainHelp extends PreferenceActivity { @Override public void
Code for the DBHelper class: class DBHelper extends SQLiteOpenHelper { private static final String
I am trying to write the class to download the file from server and
public class DataBaseHelper extends SQLiteOpenHelper { private static String DB_NAME; private static String DB_PATH
try to write a composite component that allows mutltiple text inputs. I read that
I try to write Activator action for changing current song rating. I now that

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.