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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:12:40+00:00 2026-05-30T19:12:40+00:00

I am new to Android development using eclipse, although not new to software development

  • 0

I am new to Android development using eclipse, although not new to software development in general.

I would like to use a Java Map to hold string key-value pairs and read and write this map to an editable text file in the application’s default directory. I have been searching all over, found pieces, but have trouble putting it all together.

I think there are basically 2 parts to this task:

1) Create a string, string Map with key-value pairs in my program – okay this is pretty easy.

2) Read and write the Map to an editable text file in the Android application’s default directory. This should be easy, but I have not found a solution anywhere. I would think there would be a map.readAsText function and map.writeAsText function somewhere. I think this is basically what I need.

Can someone help me out – point me in the right direction?
Thank you very much.

  • 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-30T19:12:42+00:00Added an answer on May 30, 2026 at 7:12 pm

    The Java Properties class is a serializable Map with a simple, human-editor-friendly format (see the Java Tutorial: Properties. For example:

    Properties p = new Properties();
    p.put("name", "Charles");
    p.put("age", "45");
    p.list(System.out); // new FileOutputStream("properties.txt")
    // name=Charles
    // age=45
    p.load(new FileInputStream("properties.txt"));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to Android development using eclipse, although not new to software development
I am new to Android and Eclipse development, but not new to software development
I am new to Android and Eclipse development, but not new to software development
Extreme Android developer newbie here...well, new to Android development, not development in general. I
Quite new to Android development and Java in general, so please excuse any amateur
i am new to android development. I use the eclipse with android plug-in and
I'm new to Eclipse and I'm using for some Android development. Eclipse is making
I am new to Android development and would like to select data and pre-populate
I am using Eclipse 3.5 for Jave EE Developers. Plugins installed include: Android Development
My issue is regarding PhoneGap and Android development using the Eclipse Applaud plugin. I

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.