I am not sure that will help. I think when you implement mCamera.takePicture
did you try to give it a ShutterCallback like:
Camera.ShutterCallback mShutterCallback = new Camera.ShutterCallback() {
public void onShutter() {
// implement your onshutter actions or leave it blank
}
};
then:
if (keyCode == KeyEvent.KEYCODE_SPACE) {
mCamera.takePicture(mShutterCallback,null,mPictureCallback);
return true;
}
Not sure it is right but it might be helpful. :)
On Fri, Jun 12, 2009 at 7:29 AM, Sundog <[email protected]> wrote:
>
> Hi, if you're using Eclipse, do you know about the LogCat window on
> the Debug page? It will tell you what exception is being thrown, which
> is really essential to know to solve your problem.
>
> On Jun 11, 3:12 pm, Sharmila Chakraborty <[email protected]> wrote:
> > It starts previewing,but as soon as I press the space key it says,"Sorry
> > application is forced closed.Try again!"
> >
> >
> >
> > On Thu, Jun 11, 2009 at 4:44 PM, Sundog <[email protected]> wrote:
> >
> > > On Jun 11, 2:37 pm, Max Salley <[email protected]> wrote:
> > > > What exception does it throw?
> >
> > > Details, details! lol...- Hide quoted text -
> >
> > - Show quoted text -
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---