-1
어떻게 내 응용 프로그램에서, 하나는 좀에 refrence을 줄 수의 이미지처럼 갤러리보기를 만들기 위해?
어떻게 내 응용 프로그램에서, 하나는 좀에 refrence을 줄 수의 이미지처럼 갤러리보기를 만들기 위해?
여기에서 우리 갤러리
protected void onActivityResult(int requestCode, int resultcode, Intent intent)
{
super.onActivityResult(requestCode, resultcode, intent);
if (requestCode == 1)
{
if (intent != null && resultcode == RESULT_OK)
{
Uri selectedImage = intent.getData();
String[] filePathColumn = {MediaStore.Images.Media.DATA};
Cursor cursor = getContentResolver().query(selectedImage, filePathColumn, null, null, null);
cursor.moveToFirst();
int columnIndex = cursor.getColumnIndex(filePathColumn[0]);
filePath = cursor.getString(columnIndex);
cursor.close();
}
}
}
갤러리보기를 찾고 있는데 갤러리에 액세스하지 않았습니까? –
* 하나의 질문에 두 개의 답변을 게시하는 목적은 무엇입니까? * –
모습에서 가져 오기 이미지 경로에서이 코드 : http://stackoverflow.com/questions/3866766/how-to-create-a-gallery- on-ios – CRDave