I have seen apps that use the Camera Preview as a Live Wallpaper

Using the typical camera setup code using the surface holder callbacks
of the Wallpaper Engine results in the camera complaining about
"registerBuffers failed with status -38"

I then set the type of the surface holder using
setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS) in the onCreate
method;

That changes the error to a null pointer exception at onUpdateSurface
which is an internal method of either the WallPaper engine, or
whatever it is extended from.

Does anyone have any insights on how to get this to work?

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

Reply via email to