Search code examples
c++android-ndkjava-native-interfacegoogle-chrome-arc

Is it possible to use Native C++ code in ARC?


We want to try to launch our software on Chrome OS using ARC. Many parts of our software application are written in C++ and compiled using the Android NDK. Is it possible to launch this kind of application under ARC? Is it possible to launch Native applications(or Java + JNI) under ARC?


Solution

  • Yes, ARM compiled NDK libraries will run on all Chromebooks currently. For ARM machines they run more or less natively.

    For non-ARM machines there is a binary translation layer that dynamically converts the code to run on the target machine. This layer may not be 100% machine compatible and if you see errors or crashes indicating instructions cannot be translated, or fundamental differences between your app on ARM and x86, you should file a bug: http://goo.gl/megdlG