I know there are plenty of tutorials about integrating C++ into Java, but whats about the other way around, a Bridge from Java to C++?
The reason i’m asking this is Android.
Every C++ developer who wanted to write applications for the android noticed at some point that there is no serious (mature) C++ api for android (infact, android is lacking an implementation of the STL).
The only API that is mature enough to write android applications in, is Java. So instead of writing an api from scratch, wouldn’t it be possible to use the Java Classes from C++?
I know that this sounds merely like an unrealistic dream, but that way most C++ developers weren’t forced to learn a new Language.
Java API is the API for Android. NDK was never intended to replace it. You have an option to write performance critical parts of your app in C++ but that’s it. I don’t know why would you even want to write Activities in C++? So better not to waste your time, if you already know C++ switching to Java will be a piece of cake.