调用系统内置的gallery查看图片
来源:互联网 发布:服务器端软件有哪些 编辑:程序博客网 时间:2024/05/22 12:32
- Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
- // 告诉打开的内容
- intent.setType("file:///sdcard/image/*");
- startActivityForResult(intent, 1);
- protected final void onActivityResult(final int requestCode, final int
- resultCode, final Intent i) {
- super.onActivityResult(requestCode, resultCode, i);
- // this matches the request code in the above call
- if (requestCode == 1) {
- Uri _uri = i.getData();
- // this will be null if no image was selected...
- if (_uri != null) {
- // now we get the path to the image file
- cursor = getContentResolver().query(_uri, null,
- null, null, null);
- cursor.moveToFirst();
- String imageFilePath = cursor.getString(0);
- cursor.close();
- }
- }
- 调用系统内置的gallery查看图片
- 调用系统Gallery并返回选择的图片Url
- 使用内置的Gallery选择图片
- 使用Gallery查看图片
- 调用系统图片查看器查看图片
- android获取gallery中的图片以及调用系统相机
- 调用系统图片查看器,打开图片
- 使用Gallery滑动查看图片
- android 调用系统图库查看指定路径的图片
- Android gallery+BaseAdapter实现简易的图片查看器
- 使用strace查看shell内置命令的系统调用(sudo亦然)
- Android调用gallery获取图片
- android--gallery走廊效果图片查看器
- 查看系统调用的source
- 微信内置浏览器图片查看方式的原生实现
- Android遍历某个文件夹的图片并实现滑动查看的的Gallery
- android之查看图片的程序 ImageSwitcher Gallery的配合应用---版本1
- android之查看图片的程序 ImageSwitcher Gallery的配合应用---版本2
- Hottest lines of romantic moives
- WG7310(WLAN+Bluetooth+FM)芯片在.Net MF中的应用
- 到哪都是新人
- eVC & VC 串口编程
- 知识了解(java)
- 调用系统内置的gallery查看图片
- 佳佳说我双重性格,哈哈
- ReportingServices
- 判断可用的intent和更改Drawable的透明度
- 实现 JList 反选功能
- How to mount ISO images on HP-UX, Solaris and Linux(挂载ISO镜像文件)
- 哇,好开心哦..
- android on line find source
- recently