Skip to main content

Going Native with the NDK

  • Chapter
  • First Online:
Beginning Android Games

Abstract

After all the 3D extravagance in the past three chapters, it’s time to look into one more aspect of programming games for Android. While Java and the Dalvik VM are sufficient for a lot of game genres in terms of execution speed, there are times when you need a bit more power. This is especially true for physics simulations, complex 3D animation, collision detection, and so on. This type of code is best written in more “to-the-metal” languages like C/C++ or even assembly language. The Android native development kit (NDK) lets us do exactly that.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Mario Zechner, J.F. DiMarzio and Robert Green

About this chapter

Cite this chapter

Zechner, M., DiMarzio, J.F., Green, R. (2016). Going Native with the NDK. In: Beginning Android Games. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0472-6_13

Download citation

Publish with us

Policies and ethics