I made an image processing application using OpenCV and Android NDK. Now I want to show the result in my main action, which is a panel containing some data and graphs based on an application for processing my own images.
I look around and find that the native code is only available for activity (NativeActivity class), which is my approach at the moment when the main action is replaced by a blank screen of native activity link # 1 .
My questions, is that true? How can I run my own code from the main action, keeping the main asset active in the foreground, and my own code running in the background?
Thanks guys!
source
share