지금 프로젝트 하나 하고있는데


원하는 경로에 있는 이미지를 그리드뷰로 뿌려주고 싶은데 잘 모르겠네요..


도와주세요!!!



그리고 폴더 생성 할때


생성될때 바로 숨김폴더 처리하고싶은데


 앞부분에 .을 찍으면 숨김으로 생성될거 같아서 해봤는데 먹히질 않네요..


else {

String rootPath = Environment.getExternalStorageDirectory()

.toString();

String path = rootPath + "/v" + System.currentTimeMillis();

String folder = "/v" + System.currentTimeMillis();


File file = new File(path);

if (!file.exists()) // 원하는 경로에 폴더가 있는지 확인

file.mkdirs();


String tt = mText.getText().toString();

secretDB.insert("INSERT INTO secret VALUES (null, '" + tt

+ "', '" + folder + "');");


Toast.makeText(getApplicationContext(), /* folder+ */" 폴더생성",

Toast.LENGTH_LONG).show();

}

break;