C++ for android apps | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

C++ for android apps

I would like to create android apps using C++ in Visual Studio. What advantages and disadvantages would I have compared to programming in Java?

9th Jul 2018, 7:07 PM
Gabriele Olmi
Gabriele Olmi - avatar
6 Answers
+ 5
hinanawi C++ on android run "natively" more than java... Its more complicated works with it but if performances are needed, use its necessary
9th Jul 2018, 8:02 PM
KrOW
KrOW - avatar
+ 4
the only "disadvantage" is that c++ programs do not natively run on android, and java ones do. so you might have to appropriate some things
9th Jul 2018, 7:23 PM
hinanawi
hinanawi - avatar
+ 2
You have always need of a Java glue but you can implement all in C++... I want suggest you to use C++ ONLY if really needed because its not "simple" like on other OS. Anyway here you will find all informations https://developer.android.com/ndk/guides/
9th Jul 2018, 8:47 PM
KrOW
KrOW - avatar
+ 2
Look into Qt , its a great all around framework and lets you make cross platform applications and even android apps in c++
10th Jul 2018, 2:14 AM
064XP
064XP - avatar
+ 1
Can I create an android application only in c++?
9th Jul 2018, 8:28 PM
Gabriele Olmi
Gabriele Olmi - avatar
0
idk but try it
12th Jul 2018, 1:41 AM
Craig Wade