Is the following possible (if so, how) :

I'd like to set up a layout in my java and add a view to it where the view 
contains a surfaceView for rendering the camera preview. But, I dont want 
to instantiate and start the camera in Java. I just want to set up the view 
so that I can keep the layout structure.

Then, I have a native C++ component accessed via JNI where I'd like to 
actually start the camera and have it's preview rendered in the SurfaceView 
mentioned above.

The reason for this setup is that I'd like to keep the layout that I 
defined in Java but access the camera and its preview frames in C++. I dont 
want to handle the preview frames in Java and then pass them to C++ as that 
is not efficient.

The other option would be to set up my java layout in C++, but not sure if 
that is even possible ?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to