What path does “getApplicationContext().getFilesDir()” return?

后端 未结 5 1694
余生分开走
余生分开走 2020-12-17 23:07

I\'m doing a simple app in Android and in a certain part of the app I would like to create an Excel file and write in it. I\'ve already prepared everything to use jexcel lib

5条回答
  •  暖寄归人
    2020-12-17 23:37

    Read the documentation, this method reads the files stored in the internal storage that were created with with openFileOutput():

    getFilesDir()

    Returns the absolute path to the directory on the filesystem where files created with openFileOutput(String, int) are stored.

提交回复
热议问题