/*Intent i = new Intent(Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
((Activity) getContext()).startActivityForResult(i,RESULT_LOAD_IMAGE);*/
Intent intent = new Intent("android.intent.action.PICK");
intent.setType("image/*");
((Activity)getContext()).startActivityForResult(Intent.createChooser(intent, "选择图片"), RESULT_LOAD_IMAGE);
//解决“相册小秘书”无法点击的问题
/*Intent intent = new Intent();
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
((Activity)getContext()).startActivityForResult(Intent.createChooser(intent, "选择图片"), RESULT_LOAD_IMAGE);
*/
/*Intent i = new Intent(
Intent.ACTION_PICK,
android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
i.setType("image/*");
((Activity) getContext()).startActivityForResult(i,
RESULT_LOAD_IMAGE);
*/
((Activity) getContext()).startActivityForResult(i,RESULT_LOAD_IMAGE);*/
Intent intent = new Intent("android.intent.action.PICK");
intent.setType("image/*");
((Activity)getContext()).startActivityForResult(Intent.createChooser(intent, "选择图片"), RESULT_LOAD_IMAGE);
//解决“相册小秘书”无法点击的问题
/*Intent intent = new Intent();
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
((Activity)getContext()).startActivityForResult(Intent.createChooser(intent, "选择图片"), RESULT_LOAD_IMAGE);
*/
/*Intent i = new Intent(
Intent.ACTION_PICK,
android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
i.setType("image/*");
((Activity) getContext()).startActivityForResult(i,
RESULT_LOAD_IMAGE);
*/