C ++ or Java for Android?

I’m thinking about boosting the development of Android in my free time. I see that development is possible in Java and C ++, but the latter is limited.

I am much more comfortable with C ++.

So my question is, what are the limitations from C ++ to Android? Will I be able to create complete applications with it, or will I eventually have to learn Java?

+4
source share
3 answers

Select the appropriate tool for the job. The right tool for android is java, and sometimes C ++, if it is really necessary. Android runs on several different processors, and you will need to deal with such fun things as compiling for platforms for which you cannot test - at least if you want to create applications for everyone but yourself.

+7
source

It all depends on what you want to do, but the general rule is:

C ++ is for speed (e.g. games).

Java is for the user interface and general programming on Android.

+7
source

You cannot encode all Android applications using only C ++, the Android SDK is written in Java, and that is what you will need to use.

This suggests that you can still use C ++ for heavy things.

+3
source

Source: https://habr.com/ru/post/1347645/


All Articles