[android-developers] Re: Camera preview not restarting after picture taken

2010-12-24 Thread Stephen Lebed
Hi Mark,

I've looked at your code, thanks for the link.  In my app I'm using
the new addcallbackwithbuffer and setpreviewcallbackwithbuffer
methods.

I'm using them to capture preview frames and process them.  I think
there may be a bug because the camera take picture routine is
stalling.  I suspect memory issues, but nothing is obvious in logcat.
I'm testing on a tmo G2.

Best,
Stephen

On Dec 23, 12:12 pm, Mark Murphy  wrote:
> Here is a sample project that does not suffer from this issue:
>
> https://github.com/commonsguy/cw-advandroid/tree/master/Camera/Picture
>
> If you see the same symptoms with this project, let me know what your device 
> is.
>
>
Hi>
>
>
> On Thu, Dec 23, 2010 at 3:10 PM, Stephen Lebed  wrote:
> > Has anyone come across this and found a solution?  I'm calling
> > camera.startPreview() after the picture is taken, but the preview is
> > frozen.
>
> > Best,
> > Stephen
>
> > --
> > 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
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
> Available!

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


Re: [android-developers] Re: Camera preview not restarting after picture taken

2010-12-25 Thread Mark Murphy
On Fri, Dec 24, 2010 at 3:18 AM, Stephen Lebed  wrote:
> I've looked at your code, thanks for the link.  In my app I'm using
> the new addcallbackwithbuffer and setpreviewcallbackwithbuffer
> methods.
>
> I'm using them to capture preview frames and process them.  I think
> there may be a bug because the camera take picture routine is
> stalling.  I suspect memory issues, but nothing is obvious in logcat.
> I'm testing on a tmo G2.

Sorry, I haven't tried those yet.

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

Android 2.2 Programming Books: http://commonsware.com/books

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