Results 1 to 2 of 2
  1. #1
    ImTroyMiller is offline Member
    Join Date
    Jan 2014
    Rep Power

    Question Where is the most common place to save a TXT file used for my app?

    My app uses a small TXT file(binary might be better) to store a small amount of user information. The file will be loaded each time the app is opened and will be saved to when the user chooses to save.

    Right now I'm just using the root directory of my SD card to store this file. Should I place this file in a folder that has the name of my app?

    Where are these config files usually stored?

    What are my options if the user has no SD card?

  2. #2
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Tucson, AZ
    Rep Power

    Default Re: Where is the most common place to save a TXT file used for my app?

    Have a look at the Preferences API: Preferences (Java Platform SE 7 )
    Get in the habit of using standard Java naming conventions!

Similar Threads

  1. Java save to file / open from file - trouble
    By joelBeaton in forum Advanced Java
    Replies: 6
    Last Post: 03-23-2012, 12:47 PM
  2. Replies: 3
    Last Post: 06-21-2011, 04:51 PM
  3. Replies: 14
    Last Post: 04-18-2011, 12:05 PM
  4. Replies: 2
    Last Post: 02-03-2011, 03:06 AM
  5. Replies: 0
    Last Post: 03-05-2010, 04:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts