How to write a file(text/audio/vedio) into/retrieve from internal storage?


Last Updated:

  1. chaitra

    chaitra New Member This Topic's Starter

    Joined:
    Jul 1, 2009
    Messages:
    2
    Likes Received:
    0
    Hi All,

    I want to list and retrive all the files stored on phone memory ie. from internal storage.I tried using Environment.getDataDirectory().listFiles() but its returning 0.
    I am able to retrieve everything from SD card using Environment.getExternalStorageDirectory().listFiles() and also able to write any file into the card programetically.
    Is there any option in android to store files on phone memory(apart from the applications private files using OpenFileOutput())?
    Kindly let me know how to fetch phone memory files.Please reply as soon as possible.

    Regards,
    Chaitra
     

    Advertisement
  2. chaitra

    chaitra New Member This Topic's Starter

    Joined:
    Jul 1, 2009
    Messages:
    2
    Likes Received:
    0
    Any help please........
     

Share This Page

Loading...