Ask Your Question

aQwallovS7's profile - activity

2014-05-07 06:16:32 -0600 received badge  Necromancer (source)
2014-05-01 09:31:17 -0600 answered a question OpenCV_NativeCamera: startPreview() fails on Nexus 5 (Android, Kitkat)

https://github.com/Itseez/opencv/pull/2691 will probably fix this. At least it fixes a similar log for me on Nexus 5 Android 4.4.2.

2014-04-30 14:35:09 -0600 commented question libnative_camera crash on Android 4.4.2

Figured out why callbacks were not called on 4.4.2. I'm building a native executable instead of a shared library. Turns out that in such case I'm responsible for creating a binder thread: IPCThreadState::self()->joinThreadPool(). Otherwise when mediaserver tried to communicate with preview BufferQueue, it just hanged because nothing was handling the request. Anyways, now both 4.4.0 and 4.4.2 still have the problem I referred to in the previous comment.

2014-04-25 04:22:08 -0600 commented question libnative_camera crash on Android 4.4.2

After unsuccessfully hacking on 4.4.2 for a few days, I decided to downgrade to 4.4.0. Only to find out that native camera doesn't work for me on 4.4.0 Nexus 5 either. Same problem as here: http://answers.opencv.org/question/30311/opencv_nativecamera-startpreview-fails-on-nexus-5/

2014-04-24 02:39:07 -0600 commented question libnative_camera crash on Android 4.4.2

I have managed to build the 4.4.0 version for 4.4.2. It doesn't crash anymore, preview seems to start fine, but data callbacks are not called. I'll try to get this to work. Alexander Smorkalov, if you see this, have you attempted to get 4.4.2 working?

2014-04-09 11:24:03 -0600 commented answer libnative_camera compilation

Hey,

I'm also trying to build a libnative_camera library. What exactly is this bin_arm (or bin_x86 or bin_mips) directory that the build script needs? It is expected to be at the root directory of Android source. A fresh checkout of Android seems to be missing the bin_* directory.

Thanks.

2014-04-09 11:17:10 -0600 received badge  Supporter (source)