Platform/Android
[File] 외부저장소/내부저장소
개래갱깽스타
2020. 8. 16. 18:30
외부저장소(external storage) = sdcard
- 다른 곳에서 읽혀질 수 있다.
mContext.getExternalFilesDir(null).getAbsolutePath()
내부저장소(internal storage) =
- 내부에 저장된 파일은 기본적으로 해당 앱만 접근 가능
- 시스템이 앱이 제거될 때 내부에 저장된 파일을 모두 제거
mContext.getFilesDir().getAbsolutePath()
https://ismydream.tistory.com/124
안드로이드 File 다루기
안드로이드 File 다루기 File 다루기 - 안드로이드는에는 내부, 외부의 두가지의 파일 저장 영역이 있다. (internal, external storage) internal storage (내부) - 항상 사용가능하며 내부에 저장된 파일은 기본.
ismydream.tistory.com
반응형