怎样的android保存拍摄的图像到手机图库 [英] android how to save captured image into phones gallery

查看:162
本文介绍了怎样的android保存拍摄的图像到手机图库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个活动。在一个活动我有一个形象的看法和拍照键。 当我preSS拍照键则进入其他活动,其中两个按钮是有捕获,另一种是选择按钮。当我preSS捕获它拍摄的图像。但问题怎么这个捕获的图像保存到画廊。而经过pressing选择按钮所拍摄的图像sholb是显示在1日活动的ImageView的。 我怎样才能做到这一点。 谢谢U

i have two activity. In one activity I have an image view and an camera button. When I press camera button it goes to other activity where two buttons are there Capture and another is Select button. when I press capture it capture an image. But question how to save this capture image to gallery. and After pressing the Select button the captured image sholb be display on 1st activity's ImageView. How can I do that. Thank u

推荐答案

见的 http://blog.kupriyanov.com/2010/02/solved-android-save-image-to-media.html 保存到画廊,看<一href="http://stackoverflow.com/questions/2169649/open-an-image-in-androids-built-in-gallery-app-programmatically">Get/pick从Android的内置库的应用程序图像编程的显示画廊图像。

See http://blog.kupriyanov.com/2010/02/solved-android-save-image-to-media.html to save to gallery, and see Get/pick an image from Android's built-in Gallery app programmatically for displaying the gallery image.

这篇关于怎样的android保存拍摄的图像到手机图库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆