Android-NDK: create GUI elements out of native code <p>as far as I understood the Android-NDK-thingy it works as follows: I have to use a NativeActivity that itself calls into the attached native code handing over some OpenGL graphics context. This context can be used by the native part to draw some things with.</p> <p>What I could not fiddle out until now: how about some GUI elements? Is there a possibility to call back from native code to Java just to create some UI-elements and perhaps to use layouts? Means is it possible to use the standard Android GUI elements also with such native code?</p> <p>If yes: how can this be done? If not: what alternatives exist (except drawing everything manually)?</p> <p>Thanks!</p>