Mastering Android NDK: Master the skills you need to develop portable, highly-functional Android applications using NDK

· Packt Publishing Ltd
Ebook
328
Pages
Tools

About this ebook

Master the skills you need to develop portable, highly-functional Android applications using NDKKey Features
  • Develop portable games using Android NDK and debug them on your desktop
  • Familiarise yourself with different popular C++ libraries on Android and use them in your games
  • Write multi-threaded code with graphics, sound, networking, and resource storage
Book DescriptionAndroid NDK is used for multimedia applications that require direct access to system resources. NDK is also the key for portability, which in turn allows a reasonably comfortable development and debugging process using familiar tools such as GCC and Clang toolchains. This is a hands-on guide to extending your game development skills with Android NDK. The book takes you through many clear, step-by-step example applications to help you further explore the features of Android NDK and some popular C++ libraries and boost your productivity by debugging the development process. Through the course of this book, you will learn how to write portable multi-threaded native code, use HTTP networking in C++, play audio files, use OpenGL ES 3, and render high-quality text. Each chapter aims to take you one step closer to building your application. By the end of this book, you will be able to create an engaging, complete gaming application.What you will learn
  • Explore popular C++ libraries and use them on Android
  • Write portable, multithreaded native networking code
  • Create portable audio framework using OpenAL
  • Implement portable rendering framework using OpenGL ES 3
  • Debug mobile applications on your desktop machine
  • Access resources from APK archives
  • Render text with FreeType
Who this book is for

If you want to leverage your C++ skills in mobile development and increase the performance of your Android applications, then this is the book for you. Knowledge of C or C++ is assumed, including pointer manipulation, multi-threading, object-oriented programming concepts, and the basics of C++11. It would be an added advantage if you know how to develop applications without any IDE.

Master the skills you need to develop portable, highly-functional Android applications using NDKKey Features Develop portable games using Android NDK and debug them on your desktop Familiarise yourself with different popular C++ libraries on Android and use them in your games Write multi-threaded...

Discover more

About the author

Sergey Kosarevsky is a former rendering lead at Ubisoft RedLynx. He currently leads Vulkan development at Meta. He worked in the mobile industry at SPB Software, Yandex, Layar and Blippar, TWNKLS, and DAQRI, where he designed and implemented real-time rendering technology. He has more than 20 years of software development experience and more than 12 years of mobile and embedded 3D graphics experience. In his Ph.D. thesis, Sergey employed computer vision to solve mechanical engineering problems. He is also a co-author of several books on 3D graphics and mobile software development in C++, including “3D Graphics Rendering Cookbook”.

Viktor Latypov is a software engineer specializing in embedded C/C++, 3D graphics, and computer vision. With more than 15 years of software development experience and a Ph.D. in applied mathematics, he has implemented a number of real-time renderers for medical and automotive applications over the last 10 years. Together with Sergey, he has co-authored two books on mobile software development in C++.

Sergey Kosarevsky is a former rendering lead at Ubisoft RedLynx. He currently leads Vulkan development at Meta. He worked in the mobile industry at SPB Software, Yandex, Layar and Blippar, TWNKLS, and DAQRI, where he designed and implemented real-time rendering technology. He has more than 20 yea...

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.