are you calling the Camera activity from your application with the intent of being called back when the user takes a picture?

the conventional way to do this is to start the Camera with startActivityForResult() instead of the regular startActivity(). override onActivityResult() to receive the user's picture -- but this will only happen if they choose to share it via clicking "attach" or whatever the camera's equivalent is. i don't think there's a way of getting called at the instant the user clicks the capture button -- and there shouldn't be, IMHO. give the user a chance to retake first :-)

another way to do this is to register for shares via the SEND action. the registered activity will appear in the share menu (when a user long-clicks on a gallery item, etc) and you will get called if the user picks your app to handle the content.

hth


anyone?

On Feb 8, 1:24 pm, Abhi <abhishek.r.sha...@gmail.com> wrote:
 Hi,

 Is it possible to start an activity from the built-in Camera app after
 the user touches the on-screen Capture button?

 Abhi

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


--
jason.vp.engineering.particle

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