Just checking out Android development very superficially, and it seems that most everyone is working in Java. Yet
Android includes a set of C/C++
libraries used by various components
of the Android system. These
capabilities are exposed to developers
through the Android application
framework.
does this mean that, in Android applications, Java is used and C++ is used:
- sometimes?
- a lot?
- almost never?
- Never: you cannot use it for applications?
Sometimes. As least as possible, only for time-sensitive code, and even then it might not be a good solution.
The standard way to make Android apps is Java.
This is because the Java code will truly be cross-platform and will work virtually across all devices. While the ndk is only supported for ARM processors as far as I know, and it’s not entirely encouraged unless absolutely necessary.
A lot of people abuse the NDK to avoid using Java or the SDK. This is wrong.