ICS (4.0) needs valid SurfaceHolder on setPreviewDisplay in camera_wrapper (Bug #1526)


Added by nexus2k - about 13 years ago. Updated about 13 years ago.


Status:Done Start date:
Priority:Low Due date:
Assignee:Kirill Kornyakov % Done:

0%

Category:android
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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

Revision 184ae873
Added by Roman Donchenko over 11 years ago

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

Also available in: Atom PDF