Apress Pro Android C++ with the NDK (2012).pdf
(
7368 KB
)
Pobierz
Building graphic-rich and better performing
native applications
Pro
Android C++
with the
NDK
Onur Cinar
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
Contents at a Glance
About the Author ��������������������������������������������������������������������������������������������������������������
�
xix
About the Technical Reviewer ������������������������������������������������������������������������������������������
�
xxi
Preface ��������������������������������������������������������������������������������������������������������������������������
��
xxiii
■
Chapter 1: Getting Started with C++ on Android
��������������������������������������������������������������
�
1
■
Chapter 2: Exploring the Android NDK
���������������������������������������������������������������������������
��
41
■
Chapter 3: Communicating with Native Code using JNI
�������������������������������������������������
�
67
■
Chapter 4: Auto-Generate JNI Code Using SWIG
������������������������������������������������������������
��
95
■
Chapter 5: Logging, Debugging, and Troubleshooting
�������������������������������������������������
��
127
■
Chapter 6: Bionic API Primer
����������������������������������������������������������������������������������������
�
155
■
Chapter 7: Native Threads
�������������������������������������������������������������������������������������������
��
179
■
Chapter 8: POSIX Socket API: Connection-Oriented Communication
��������������������������
��
209
■
Chapter 9: POSIX Socket API: Connectionless Communication
�����������������������������������
��
247
■
Chapter 10: POSIX Socket API: Local Communication
�������������������������������������������������
�
�259
■
Chapter 11: C++ Support
����������������������������������������������������������������������������������������������
�
275
v
vi
Contents at a Glance
■
Chapter 12: Native Graphics API
����������������������������������������������������������������������������������
�
285
■
Chapter 13: Native Sound API
�������������������������������������������������������������������������������������
��
335
■
Chapter 14: Proiling and NEON Optimization
�������������������������������������������������������������
�
�363
Index��������������������������������������������������������������������������������������������������������������������������������
�
381
Chapter
1
Getting Started with C++
on Android
Needless to say, exploring and practicing are the best methods for learning. Having a fully functional
development environment ready at the very beginning of this book will enable you to explore and
experiment with the material while working through the chapters. The Android C++ development
environment is mainly formed by the following components:
Android Software Development Kit (SDK)
Android Native Development Kit (NDK)
Android Development Tools (ADT) Plug-In for Eclipse
Java Development Kit (JDK)
Apache ANT Build System
GNU Make Build System
Eclipse IDE
This chapter will provide step-by-step instructions for setting up the proper Android C++ development
environment. Android development tools are provided for the major operating systems:
Microsoft Windows
Apple Mac OS X
Linux
Since the requirements and the installation procedure vary depending on the operating system,
the following sections will walk you through the steps for setting up the Android C++ development
environment based on the operating system. You can skip over the ones that don’t apply to you.
1
Plik z chomika:
krupix.one
Inne pliki z tego folderu:
Wei-Meng Lee-Android application development cookbook_ 93 recipes for building winning apps-Wrox (2013).pdf
(32748 KB)
Apress Android Apps for Absolute Beginners (2011).pdf
(69762 KB)
Apress Android Tablets Made Simple, For Motorola XOOM Samsung Galaxy Tab Asus Toshiba and Other Tablets (2011).pdf
(75353 KB)
Addison-Wesley Introduction to Android App Development for the Kindle Fire (2012).pdf
(13997 KB)
Addison-Wesley Learning Android Application Programming for the Kindle Fire (2012).pdf
(17766 KB)
Inne foldery tego chomika:
Android Application Development Video Guide Poradnik
Apple iOS 5 and 6 Development eBooks Collection [PDF]
ASP.NET eBooks Collection [PDF]
books
Complete IT Books Pack
Zgłoś jeśli
naruszono regulamin