Skip to Main Content
Advanced Android™ Application Development, Fourth Edition
book

Advanced Android™ Application Development, Fourth Edition

by Joseph Annuzzi Jr., Lauren Darcey, Shane Conder
November 2014
Intermediate to advanced content levelIntermediate to advanced
624 pages
16h 56m
English
Addison-Wesley Professional
Content preview from Advanced Android™ Application Development, Fourth Edition

25. Using the Android NDK

Although Android applications are primarily written in Java, there are times when developers need or prefer to leverage native C or C++ libraries. The Android Native Development Kit (NDK) provides the tools necessary to include and use native libraries in Android applications. In this chapter, you will learn under what circumstances the Android NDK should be considered and how to configure and use it.

Determining When to Use the Android NDK

Most Android applications are written solely in Java using the Android SDK and run within the Dalvik virtual machine (VM). Most applications run smoothly and efficiently in this fashion. However, there are situations when calling in to native code from Java can be preferable. The ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android Application Development All-in-One For Dummies, 3rd Edition

Android Application Development All-in-One For Dummies, 3rd Edition

Barry Burd, John Paul Mueller

Publisher Resources

ISBN: 9780133892420Purchase book