+ 3

How to develop an Android application in C++?

And so, I mastered the basic level of C ++ well and learned how to write some application with a graphical interface using SDL. I would like to know how it is possible to develop mobile applications using only C ++? For good, it would be worth learning Java, but if you can safely write in C ++, then why not. I also know that with SDL this is possible. If there are tutorials or materials for developing android applications in C++? In general, what do you recommend learning about Android development?

8th Mar 2022, 9:29 AM
Majid Isaev
Majid Isaev - avatar
8 Antworten
+ 4
It's probably possible. Just like you can hammer a screw into a wall. The question is if it's a good idea.
8th Mar 2022, 9:46 AM
Simon Sauter
Simon Sauter - avatar
+ 3
I don't do android development. So I can't really comment. I also can't say whether c++ is good or bad for it. My point was a general one. At least once a week someone posts a question here of the form "how do you make android apps with x?" Usually x is Python or HTML. And I'm sure that in the overwhelming majority of cases these are people who would have learned a different language if they had taken more than five minutes to get informed before choosing a language. There are -- I assume -- good reasons to use other languages than the standards. But doubling down on a poor decision is not a good reason. So you have to ask yourself if that's the case with you. And if it is take the time to get informed about the options before making a choice.
8th Mar 2022, 10:00 AM
Simon Sauter
Simon Sauter - avatar
+ 3
Android has a Native Development Kit (Android NDK) that Can be used to create Android native apps using c++
8th Mar 2022, 10:18 AM
Emms
Emms - avatar
+ 3
Android studio Visit the official guide here: https://developer.android.com/ndk/guides hope this help
8th Mar 2022, 10:42 AM
Emms
Emms - avatar
+ 1
Simon Sauter Can you recommend a tool for developing for Android without resorting to Java? For example xamarin for C#. And what do you think of the kotlin language?
8th Mar 2022, 9:54 AM
Majid Isaev
Majid Isaev - avatar
+ 1
Simon Sauter Well, I understand you, thanks
8th Mar 2022, 10:08 AM
Majid Isaev
Majid Isaev - avatar
+ 1
Emms Code Thanks. Can you recommend materials for using NDK with C++?
8th Mar 2022, 10:23 AM
Majid Isaev
Majid Isaev - avatar
+ 1
Java is the recommended language for Android. However you can learn java in no time if you have the c++
8th Mar 2022, 11:35 PM
Z3ro