调用系统相册 Android
来源:互联网 发布:血观音 知乎 编辑:程序博客网 时间:2024/04/29 10:03
/**
* 调用系统相册
* @param activity
*/
public static void photoAlbum(Activity activity) {
Intent getImage = new Intent(Intent.ACTION_GET_CONTENT); //调用android.intent.action.GET_CONTENT
getImage.addCategory(Intent.CATEGORY_OPENABLE); //调用android.intent.category.OPENABLE
getImage.setType("image/*"); //设置类型
startActivity(getImage);
}
* 调用系统相册
* @param activity
*/
public static void photoAlbum(Activity activity) {
Intent getImage = new Intent(Intent.ACTION_GET_CONTENT); //调用android.intent.action.GET_CONTENT
getImage.addCategory(Intent.CATEGORY_OPENABLE); //调用android.intent.category.OPENABLE
getImage.setType("image/*"); //设置类型
startActivity(getImage);
}
- 调用系统相册 Android
- android调用系统相册
- Android 调用系统 相册代码
- Unity3D调用Android系统相册
- android怎样调用系统相册
- Android——调用系统相册
- 调用Android系统相册并裁剪图片
- Android 调用系统相册(带裁剪)
- Android 调用系统相机以及相册源码
- Android 调用系统相机以及相册源码
- android 调用系统相机和相册
- 在WebView中调用android系统相册
- Android调用系统相机和相册
- Android调用系统相机和相册-填坑篇
- Android调用系统相机和相册
- 【Android】调用系统相册选择图片
- Android调用系统相机和相册
- android调用系统相机和相册
- #define 和 typedef
- 北京6家IMAX影院比较(盘点)
- js字符串函数
- VVDocument
- dbms_jobs 小记
- 调用系统相册 Android
- Uboot中data命令使用
- eclipse中plugin与feature的区别
- vim不用鼠标复制粘贴
- 数塔 2084
- 三层架构知识梳理
- JAVA反射机制
- android JNI utils/Log.h 找不到 解决方法
- eclipse 导入类 提示The import XXX cannot be resolved