Toast.makeText(AlbumActivity.this, "内存卡不存在", Toast.LENGTH_SHORT).show();
}
}
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
<BUG>super.onActivityResult(requestCode, resultCode, data);
if (data == null || resultCode != RESULT_OK) return;</BUG>
String photoTakeUrl = data.getStringExtra(NavigatorImage.EXTRA_PHOTO_URL);
if (requestCode == NavigatorImage.RESULT_TAKE_PHOTO && null != photoTakeUrl) {
mSelectedImages.add(new Image(photoTakeUrl));

Toast.makeText(AlbumActivity.this, "内存卡不存在", Toast.LENGTH_SHORT).show();
}
}
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (data == null || resultCode != RESULT_OK && mAlbumType == TAKE_PHOTO) {
this.finish();
}
if (data == null || resultCode != RESULT_OK) return;
String photoTakeUrl = data.getStringExtra(NavigatorImage.EXTRA_PHOTO_URL);
if (requestCode == NavigatorImage.RESULT_TAKE_PHOTO && null != photoTakeUrl) {
mSelectedImages.add(new Image(photoTakeUrl));
