📜 ⬆️ ⬇️

Mastering Android NDK

At the end of last year, our second book came out about native Android development using Android NDK and C ++ (the first one has already been discussed in Habré ).

image

www.packtpub.com/application-development/mastering-android-ndk
')


This is a continuation of the first book, in which the amendment was made to support C ++ 11 in the Android NDK, many other C ++ libraries are covered, and the last four chapters are entirely devoted to the development of the OpenGL 3 / OpenGL ES 3 renderer from scratch and the creation of the game on it. Our approach allows us to make most of the application code in C ++ and develop on the desktop, which greatly simplifies the debugging of non-trivial algorithms and porting to other mobile platforms.

No third-party ready-made engines are used - only C ++ and open-source libraries, only hardcore: .apk we unpack through libcompress, the sound is output through OpenAL, we go to the network via libcurl. This is an approach that we have successfully used in various projects that we have had to work on in different ways: SPB Shell 3D, Yandex.Shell, Layar , Blippar , Linderdaum Puzzle HD , Linderdaum Jigsaw Puzzle .

The book is focused on the intermediate developers who already know how to write simple C ++ applications for Android, but would like to learn how to generalize and format C ++ code so that it can be easily used under any mobile platform, be it iOS or Windows Phone. In general, this book should not be the very first book on the Android NDK, with which you need to begin acquaintance with him :)

The source code of all projects on chapters is attached to the book. The latest version is available on GitHub: github.com/corporateshark/Mastering-Android-NDK

Source: https://habr.com/ru/post/301364/


All Articles