If u need the image, u definitely have to write it to a file... Use the
Images.EXTERNAL_CONTENT_URI.buildUpon() to build a new uri for ur image &
then use getcontentresolver.openoutputstream to get the outputstream for the
uri, & write the image content to the outputstream... now u hv persisted ur
image n also hv a uri associated to it...

On Fri, Jun 26, 2009 at 5:48 AM, hap 497 <[email protected]> wrote:

> HI,
> From the JavaDoc, the EXTRA_STREAM parameter when launching an intent needs
> to be an URI.
> How can I pass a Bitmap object which I get from launching a
> "android.provider.MediaStore.ACTION_IMAGE_CAPTURE" intent?
>
>
>  /**
>      * A content: URI holding a stream of data associated with the Intent,
>      * used with {...@link #ACTION_SEND} to supply the data being sent.
>      */
>     public static final String EXTRA_STREAM =
> "android.intent.extra.STREAM";
>
> Thank you.
>
>
> >
>


-- 
Regards,
Sujay
Princess 
Margaret<http://www.brainyquote.com/quotes/authors/p/princess_margaret.html>
- "I have as much privacy as a goldfish in a bowl."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to