Frank,

android.net.Uri implements Parcelable

So the "get" part would be:

Uri streamUri = intent.getParcelableExtra(Intent.EXTRA_STREAM);

-- Kostya

15.09.2010 0:15, Frank Weiss пишет:
The code at http://stackoverflow.com/questions/2206397/android-intent-action-send-with-extra-stream-doesnt-attach-any-image-when-choos suggests how the Gallery app is adding the picture by means of
emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(png));
but on my end, it's not clear to me at all how to get that Uri from the intent.


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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

Reply via email to