본문 바로가기

android tech.

파일이 있는지 체크하기

public boolean hasFile(String path) {

File file = new File(path);

return file.exists();

}

'android tech.' 카테고리의 다른 글

bitmap이 있는지 체크  (0) 2014.05.02
파일 지우기  (0) 2014.05.02
파일 복사해서 저장하기  (0) 2014.05.02
bitmap을 png 또는 jpg 파일로 저장  (0) 2014.05.02
파일다운로드 및 저장  (0) 2014.05.02