Qt Android Necessitas, switch to java and back to main Qt thread
Using Necessitas. I read that QtMobility not ported or don't work and camera interface works only from java.
First, I try use JNI. But calling some java functions, i have errors (maybe bad context or thread), and because window with access from java needed for camera preview, I create window from java (when user press menu button on device).
(Method onCreateContextMenu in file QtActivity.java)
I set this window as central widget using setContentView. All ok, photo taken, but I can't return back to main program. Is it possible? Need any variant, run from beginning too.