Reputation: 3067
Anybody can explain to me about this diagram
How can Android application which run on Dalvik call a native lib from VM?
Upvotes: 1
Views: 1032
Reputation: 200150
How can Android application which run on Dalvik call a native lib from VM?
They use JNI, as explained in the diagram. Well, it actually does not call native libs from the VM... it executes native code (C or C++) which resides in a standar Linux library (those ones with the .so extension).
Upvotes: 5