You can always use JNI to return to java to get the interface components on the screen. If you configure it as something more than an API, you can simulate the actual execution of this code in your own code. NVidea has some good examples of how to do this: http://developer.nvidia.com/tegra-resources This library code does not do this for user interface components, but for other things (sound, resources, etc.) . and the idea should work for user interface components.
In addition, this project supposedly supports all sdk in C ++, and I would assume that it does it the same way. I donβt know how relevant this is, since I didnβt actually use it: http://code.google.com/p/android-cpp-sdk/
source share