First, the internal storage path is/data/youPackageName/. The paths described below are based on the internal storage path of your own application. All files stored in the internal storage will be deleted when the user uninstalls the application. 1. files1. Context. getFilesDir (). This method returns the File object of/data/youPackageName/files. 2. Context. openFileInput () and Context. openFileOutput () can only read and write files. The returned objects are FileInputStream and FileOutputStream. Www.2cto. com3. Context. fileList (), returns all file names under files, and returns the String [] object. 4. Context. deleteFile (String): delete the file with the specified name under files. 2. cache1. Context. getCacheDir (). This method returns the File object/data/youPackageName/cache. 3. custom dirgetDir (String name, int mode), return the File object of the specified name under/data/youPackageName, if the folder does not exist, use the specified name to create a new folder.