1
Android app development: C++ or Java
Hello. I am planning on programming a few apps for Android, but I need to know which language is the better option: Java or C++? Battery, performance, and efficiency are my primary concerns.
Thanks.
Thanks.
3
Ummm, it's android bro.... you use java....
Just so that you understand why you shouldn't use c++ for android is because you have to wrap the code and use JNI with it. So regardless of it being c++, you are still running a java application therefore many issues will probably occur. So just write it in the android standard of java.
Just so that you understand why you shouldn't use c++ for android is because you have to wrap the code and use JNI with it. So regardless of it being c++, you are still running a java application therefore many issues will probably occur. So just write it in the android standard of java.
It's not a dumb question. Android can do C++ apps as well, as it is Linux-based and allows you to do that. The Java runtime is obviously higher level and might be easier for some people, but yes, apps can be developed in C++ too.
Sorry if that was a dumb question, bro. I just wanted to know because Pocket Edition was written in C++ (according to the official Minecraft Wiki). Thanks!
