项目
在 GitHub 查看 Android Ultra Photo Selector
AizazZaidee/Android-Ultra-Photo-Selector
关于
轻松从 Android 设备中选择图片 :-) 启动 Activity PhotoSelectorActivity,这是主要入口点。
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Android Ultra Photo Selector 
Select images from Android devices made easy :-) In preview you can also Zoom images. You can select images from different albums. I am using UIL, so you can configure image caching your own way, if you want to change. on your mobil phone. Selection image result is also preserved. See AndroidManifest.xml for more details.
Intent intent = new Intent(context, activity);
intent.putExtra(PhotoSelectorActivity.KEY_MAX, maxImage);
intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
context.startActivityForResult(intent, requestCode);
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (resultCode != RESULT_OK)
return;
if (requestCode == SELECT_IMAGE_CODE) {// selected image
if (data != null && data.getExtras() != null) {
@SuppressWarnings("unchecked")
List<PhotoModel> photos = (List<PhotoModel>) data.getExtras().getSerializable("photos");
if (photos == null || photos.isEmpty()) {
UIHelper.ToastMessage(this, R.string.no_photo_selected);
} else {
Intent intent = new Intent(this, YourOwnLogic.class);
Bundle b = new Bundle();
b.putSerializable("album_pojo", albumPojo);
b.putSerializable("photos", (Serializable) photos);
intent.putExtras(b);
startActivity(intent);
finish();
}
}
}
- Select Images from Album

- Browsing all device folders that have images

- Preview & zoom selected images

探索相关项目
加载中…