I have been doing some research on developing on the Android platform and found
ID: 652416 • Letter: I
Question
I have been doing some research on developing on the Android platform and found that the only way to develop an app using C++ is using the NDK. I also came to know that the NDK has limited support to C/C++, with C++ having even lesser support than C. Here's the problem. I need to develop using C++ as I'm not very familiar with Java. In fact, not familiar at all. I'm still 18, so I don't have much experience with many programming languages. After doing some more research I have found a non-official NDK, called the NDK-CrystaX that implements more support for C/C++ than the official NDK. Before I start using I have to know if it would be legal to use this custom NDK in an Android app and still be able to sell it on the Android Marketplace. Is it? Or is it not? Another solution would be if the newer releases of the NDK had full support for C/C++. But I'm not sure of that either, so I'm seeking your generosity again and asking you to share your knowledge on this too.
Explanation / Answer
I think you'll be better off just learning Java as you learn to make Android apps. The stuff you know of C++ won't really get in your way of understanding Java.
I know it seems hard to learn a new language AND a new platform all in one go, but if you try to do it in C++, you have have an third problem: understanding the mapping from Java (which the platform is designed to support) to C++ (which it isn't). I've no idea, for instance, how memory management is handled in C++ apps for Android, as it relates to the base API.
Support will be easier for you if you stick to Java as well - most developers tend to use the 'default' toolchain (due to laziness more than anything, I suspect), so you'll have the most help available if you are also using the default toolchain.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.