Its been a while, and I would need to search for code, but I think:

You will need to take the Uri you get in share action, and do a MediaQuery to 
find the source file or get a stream to read it from.

It could be on sdcard or main memory or maybe even Picasa only having 
thumbnails locally. It could be not readable from your app even, and only 
visible via a content provider and the MediaStorage query.

So depending on the case you might need to read it through the Uri you are 
provided and then re-write the stream to a new file of your own, not being able 
to copy a file.

I'd read up on media storage and media queries.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to