android - List of files of saved to the internal storage -


my android application saving stats internal storage. each file name in format of "appname-currentdate"

i wondering:

  1. when save internal storage, there specific folder assigned app, or files saved along files other applications in same directory.
  2. is there way know list of files saved application internal storage

thank much.

1) depends on method use file handle. files stored in application specific directory, eg. /data/data/[your.package.name]/. files in directory readable application.

2) use getfilesdir() method in activity file handle , use listfiles() on array of file representing files in application data folder.

further reading: http://developer.android.com/guide/topics/data/data-storage.html


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -