openframeworks/openFrameworks — pull request #1509 by inspirit (2012-08-23 18:15:22+00:00)
Title: Fixed AndroidVideoGrabber streaming

this should fix #1501 issue
the idea is that Camera needs fully initialised SurfaceView instance to attach preview to. without it Camera will not be able to start the preview. there were lots of tricks not to do that in the past but now it is quite strict and i wasnt able to run androidCamera example on my device before this fix.
i also tested it on latest official Nexus Android 4.1.x and on my HTC 4.0.3