Reputation: 3036
I need to call various Java functions while in native C++ to do some stuff (loading gfx, etc...) and would like to know how. Does anyone of you know some samples or have a few helpful code snippets ?
Upvotes: 1
Views: 2226
Reputation: 539
To call Java functions from NDK you have to use JNI.
A useful and simple example is provided at the following link:
But I suggest that you should:
Upvotes: 2