ICS (4.0) needs valid SurfaceHolder on setPreviewDisplay in camera_wrapper (Bug #1526)
Description
With Android 4.0 the camera needs a valid SurfaceHolder object that the Preview of the camera starts. therefor the setPreviewDisplay code in the camera_wrapper needs to be updated to either set a valid SurfaceHolder or to create a new Method which sets it.
Currently the native camera samples won't work on Android 4.0 (ICS) devices !
Associated revisions
Merge pull request #1526 from vpisarev:linedetector_python
History
Updated by Alexander Shishkov about 13 years ago
- Description changed from With Android 4.0 the camera needs a valid [[SurfaceHolder]] object that the P... to With Android 4.0 the camera needs a valid SurfaceHolder object that the Previ... More
Updated by Kirill Kornyakov about 13 years ago
This issue is discussed in details here: https://groups.google.com/d/msg/android-opencv/5ZKgvWBDtMU/R695HUmSmUoJ. There are still some problems with camera, but it works on ICS.
- Status changed from Open to Done
- Target version set to 2.4.0