store text file in sd card


Last Updated:

  1. bbjdev

    bbjdev New Member This Topic's Starter

    Joined:
    May 5, 2010
    Messages:
    1
    Likes Received:
    0
    Hi,

    I need input about how to store a text file in the sd card. My idea is to write some contents on a text file and allow user to select a path to store the file in the device. Please let me know what are the steps I need to follow the same. I am able to write the contents on a file and the file is now under data in eclipse(DDMS).

    Thanks in advance.
    BBJDev
     

    Advertisement
  2. tp_technologies

    tp_technologies Well-Known Member

    Joined:
    Apr 26, 2010
    Messages:
    65
    Likes Received:
    5
    I would suggest checking out File objects in Java. By using a File object with the desired path and a PrintWriter you could write to any location.
     

Share This Page

Loading...