> > - From the home screen, have a big button saying "Click here to take a > > photo" > > You might be able to do that with an AppWidget in 1.5, but otherwise, > there is no means of doing a "big button" on the home screen.
Sorry, my fault, I'm not being clear. What I mean is that I want to start my application and show a screen with a button that says "Click here to take a photo". (There'll be other buttons asking for different info.) I don't mean the phone's home screen. I know how to create a button, obviously :) 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? > > - Show a camera preview screen, let the user take a photo > > OK. > > > - Go back to the home screen, display the photo as a thumbnail (using > > the photo URI, I guess) > > At this point, I am hoping that by "home screen" you really mean "the > first activity in your application" Yes, indeed, I do. > > - If the user is happy, upload the photo as a multipart message > > OK. > > > My app is mostly complete, but I'm really struggling to know how to > > use the Camera API, and how to get something as simple as a URI back > > from it. > > Again, there is no URI. It's not even clear why you want one for your > given circumstance. 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? Sorry to be so clueless, just finding the whole Camera class very confusing. I do believe that this is a common problem. Thanks for your help. Anna --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---