Anna PS wrote:
> What I don't know is what
> to launch when the user clicks on it. A modified version of the Camera
> class, or something like MediaStore.ACTION_IMAGE_CAPTURE?

I haven't used the latter, so I can't comment on it.

> I need to (a) display the photo as a thumbnail on the activity's home
> screen, and (b) upload the photo as part of a multipart message.
> 
> In both cases I need some way to refer back to the photo that the user
> has taken. I'm assuming the only way is via a URI? Is there another
> way?

In terms of the thumbnail, you can either let Android scale it
automatically from a file or use Bitmap to scale it under your control
and hand the Bitmap to the ImageView. Neither of those requires a URI.

I don't know how you intend to send the email and therefore what might
be required for it.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books.html

--~--~---------~--~----~------------~-------~--~----~
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