Skip to content

Instantly share code, notes, and snippets.

@iniyanmurugavel
Created June 29, 2020 08:08
Show Gist options
  • Select an option

  • Save iniyanmurugavel/2eaa8f9119fd62e9396daa2d81808978 to your computer and use it in GitHub Desktop.

Select an option

Save iniyanmurugavel/2eaa8f9119fd62e9396daa2d81808978 to your computer and use it in GitHub Desktop.
About FileStorage in android
Methods to store in Internal Storage(GT):
Both these methods are present in Context class
File getDir (String name, int mode)
File getFilesDir ()
Methods to store in Primary External Storage i.e. Internal Storage(UT):
File getExternalStorageDirectory ()
File getExternalFilesDir (String type)
File getExternalStoragePublicDirectory (String type)
https://androidpedia.net/en/tutorial/150/storing-files-in-internal---external-storage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment