Ask Your Question

aldoreyes's profile - activity

2013-08-24 20:57:59 -0600 commented question Android 4.2.2: native camera backward compatibility

Having the same issue, the only lead I have is that you need to compile the openCV code using the android version you want to use, but I haven't tried that, I'm about to check if the latest openCV version hast a newer libnative_camera file

2013-08-24 20:56:42 -0600 received badge  Supporter (source)
2013-05-02 22:38:34 -0600 asked a question Does FileStorage work on android?

I'm trying to save a file on android, using c++, the following code always crashes:

FileStorage fs2("samples2.yml", FileStorage::WRITE);
   if(fs2.isOpened()){
       fs2 << "frameCount" << 5;
   }
   fs2.release();

And the console prints what it seems to be a pretty generic error message:

05-02 22:34:11.001: A/libc(11697): Fatal signal 11 (SIGSEGV) at 0x6d617266 (code=2), thread 11730 (AsyncTask #1)
05-02 22:34:11.081: E/BufferQueue(11697): [unnamed-11697-1] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=5 undequeudCount=1)

Is it possible to use this on android, or should I use the File class that comes with the ndk?

Thanks for your time.