Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Java on Android native or not?

I recently read something about mobile Apps, especially about Android Apps. Within my research, I found out that there are two kinds of Apps, the native ones and the WebApps. So far, so good, but now I wonder whether an Android App written in Java is native or not. I ask this question because there is also the possibility to program in C/C++ with the NDK (Native Development Kit). When a Java App for Android is not native, what is it then? And when it is native, how can it be argued when there is also the NDK which has the word native already in the name?

like image 958
user2141428 Avatar asked Apr 21 '26 00:04

user2141428


1 Answers

"Native" is a word that has different meanings in different contexts.

When comparing and contrasting Java-based Android app development versus Web apps or so-called "hybrid" apps (e.g., PhoneGap), "native" refers to Java.

When comparing and contrasting Java-based Android app development with C/C++ Android app development using the NDK, "native" refers to C/C++.

like image 196
CommonsWare Avatar answered Apr 22 '26 12:04

CommonsWare



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!