List of files of saved to the internal storage

前端 未结 4 1753
忘掉有多难
忘掉有多难 2020-12-10 05:48

My android application is saving some stats to internal storage. Each file name is in the format of \"appname-currentDate\"

I was wondering:

  1. When I s
4条回答
  •  再見小時候
    2020-12-10 06:09

    use this method to get array of internal files stored by application.

    https://developer.android.com/reference/android/content/Context.html#fileList()

    more information here. https://developer.android.com/guide/topics/data/data-storage.html#filesInternal

提交回复
热议问题