paintple.blogg.se

Android c#
Android c#












android c#

The advantage of Java is that the application can run on any device running Android, where as NDK applications depend on the architecture it was compiled for. Java isn't that hard though - if you know how to program in C/C++. Just pick one language and write the majority of your application in that language JNI calls can decrease your performance by a lot. I'd use C/C++ for anything that requires above average computational power and games - Java for the rest. This modified version works on all Android phones that run on an ARM processor.ĭepending on the kind of application you should decide to use Java or C/C++. Dmitry Moskalchuk supplies a modified version of the NDK that supports this at. The standard NDK does not support RTTI and a lot of the functionality of standard c++ is also not available such as std::string, etc. You'll have to wrap your c++ codebase in a static library and load that through a Java wrapper & JNI. You can program in C/C++ using the Android NDK. PLEASE NOTE: THE ANSWER BELOW IS HORRIBLY OUTDATED, AND MIGHT NOT BE ENTIRELY CORRECT ANYMORE.














Android c#