Question:
By calling Camera.stopPreview();
It should also free up the Camera device, right.
It's the preview that's drawing power I think.

(Anyway, when I handle things that way, I am able to use other Camera
apps while mine is pausede, which leads me to believe stopping the
preview
will conserve battery life.)
?

Thanks again,
Josh



On Nov 22, 3:30 pm, Dave Sparks <[EMAIL PROTECTED]> wrote:
> Call the release() method on the Camera object and set it to null. In
> onResume, create a new Camera object.
>
> On Nov 22, 1:23 pm, joshbeck <[EMAIL PROTECTED]> wrote:
>
> > Here is what my app does:
>
> > It opens the camera.
> > It draws a preview to a surface.
>
> > Now, if the user pauses the app,
> > is the camera still siphoning the battery?
>
> > How can I make sure it is off?
>
> > Thanks
> > Josh Beckhttp://globedroid.com
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to