Mastering Android NDK

Bok av Sergey Kosarevsky
Master the skills you need to develop portable, highly-functional Android applications using NDKAbout This BookDevelop portable games using Android NDK and debug them on your desktopFamiliarise yourself with different popular C++ libraries on Android and use them in your gamesWrite multi-threaded code with graphics, sound, networking, and resource storageWho This Book Is ForIf 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.What You Will LearnExplore different popular C++ libraries and import some of them to AndroidWrite portable, multithreaded native codeCreate applications that play audio with OpenALImplement gesture recognition in your games and applicationsDebug mobile applications on your desktopExtract resources from APK archivesRender text with FreeType and also use OpenGL ESIn DetailAndroid 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.Style and approachThis book adopts a step-by-step approach and each chapter is based on the material from the previous ones. The book focuses on putting to your knowledge of C++ use while you develop Android applications of your own.