O'Reilly logo

Android NDK Beginner's Guide by Sylvain Ratabouil

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Writing a Fully-native Application

In previous chapters, we have breached Android NDK's surface using JNI. But there is much more to find inside! NDK R5 is a major release which has seen several long-awaited features finally delivered, one of them is native activities . Native activities allow creating applications based only on native code, without a single line of Java. No more JNI! No more references! No more Java!

In addition to native activities, NDK R5 has brought some APIs for native access to some Android resources such as display windows, assets, device configuration… These APIs help dismantle the JNI bridge, often necessary to develop native applications opened to their host environment. Although still a lot is missing and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required