본문 바로가기

닷컴's_열공/Android

android.content.Context 주요 메소드

Context.openFileInput()
하위 디렉토리 /files에 있는 응용프로그램 파일을 읽기 모드로 오픈한다.

Context.openFileOutput()
하위 디렉토리 /files에 있는 응용프로그램 파일을 쓰기모드로 열거나 생성

Context.deleteFile()
하위 디렉토리 /files에 있는 응용프로그램 파일을 삭제

Context.fileList()
하위 디렉토리 /files의 목록을 구성한다.

Context.getFilesDir()
하위 디렉토리 /files에 대한 객체를 얻는다.

Context.getCacheDir()
하위 디렉토리 /Cache에 대한 객체를 얻는다.

Context.getDir()
주어진 이름의 응용프로그램 하위 디렉토리를 얻거나 생성..

참조.