Android Native Development Kit Cookbook (Paperback)

Feipeng Liu

  • 出版商: Packt Publishing
  • 出版日期: 2013-03-21
  • 定價: $1,650
  • 售價: 6.0$990
  • 語言: 英文
  • 頁數: 346
  • 裝訂: Paperback
  • ISBN: 1849691509
  • ISBN-13: 9781849691505
  • 相關分類: Android
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Create Android apps using Native C/C++ with the expert guidance contained in this cookbook. From basic routines to advanced multimedia development, it helps you harness the full power of Android NDK.

Overview

  • Build, debug, and profile Android NDK apps
  • Implement part of Android apps in native C/C++ code.
  • Optimize code performance in assembly with Android NDK.

In Detail

Building Android applications would usually mean that you spend all of your time working in Java. There are however times when this is not the most efficient or best method for the application being built. This is where Android NDK comes in. Android NDK allows the developer to write in Native C/C++, giving you the power to reuse code and libraries and also, in most cases, increase the speed and efficiency of your application.

The "Android Native Development Kit Cookbook" will help you understand the development, building, and debugging of your native Android applications. We will discover and learn JNI programming and essential NDK APIs such as OpenGL ES, and the native application API. We will then explore the process of porting existing libraries and software to NDK. By the end of this book you will be able to build your own apps in NDK apps.

"Android Native Development Kit Cookbook" begins with basic recipes that will help you in the building and debugging of native apps, and JNI programming. The recipes cover various topics of application development with Android NDK such as OpenGL programming and Multimedia programming. We will begin with a simple recipe, Hello NDK, before moving on to cover advanced topics with recipes on OpenGL ES that focus on 2D and 3D graphics, as well as recipes that discuss working with NDK and external APIs. If you are looking for ways to make your application available in Android and take measures to boost your application’s performance, then this Cookbook is for you.

What you will learn from this book

  • Develop Android apps in C/C++ without a single line of Java.
  • Program 2D/3D graphics with both OpenGL ES 1x and 2.0 in Android NDK.
  • Write multi-threaded Android apps in Android NDK.
  • Port existing C/C++ libraries and applications to Android with NDK.
  • Develop multimedia Android apps with Android NDK.

Approach

This book is written in a Cookbook style, beginning with recipes which focus on helping developers make their software/application available in Android.

Who this book is written for

Android developers who want to learn Android NDK programming, or develop multimedia and games in Android NDK will benefit from this book.

商品描述(中文翻譯)

使用本食譜書中的專家指導,以原生C/C++創建Android應用程序。從基本例程到高級多媒體開發,它幫助您充分利用Android NDK的強大功能。

概述
- 構建、調試和分析Android NDK應用程序
- 在原生C/C++代碼中實現Android應用程序的一部分
- 使用Android NDK在組件中優化代碼性能

詳細內容
通常,構建Android應用程序意味著您花費大部分時間在Java中工作。然而,有時這並不是構建應用程序的最高效或最佳方法。這就是Android NDK的用途。Android NDK允許開發人員使用原生C/C++編寫代碼,使您能夠重用代碼和庫,並且在大多數情況下提高應用程序的速度和效率。

《Android原生開發套件食譜》將幫助您了解本地Android應用程序的開發、構建和調試。我們將探索並學習JNI編程和基本的NDK API,如OpenGL ES和本地應用程序API。然後,我們將探索將現有庫和軟件移植到NDK的過程。通過閱讀本書,您將能夠在NDK中構建自己的應用程序。

《Android原生開發套件食譜》以幫助您構建和調試本地應用程序以及JNI編程的基本食譜開始。這些食譜涵蓋了使用Android NDK進行應用程序開發的各個主題,如OpenGL編程和多媒體編程。我們將從一個簡單的食譜“Hello NDK”開始,然後進一步涵蓋高級主題,包括關於2D和3D圖形的OpenGL ES食譜,以及討論使用NDK和外部API的食譜。如果您正在尋找使應用程序在Android上可用並採取措施提升應用程序性能的方法,那麼這本食譜書適合您。

本書的學習重點:
- 在不使用一行Java代碼的情況下開發C/C++的Android應用程序
- 在Android NDK中使用OpenGL ES 1x和2.0進行2D/3D圖形編程
- 在Android NDK中編寫多線程Android應用程序
- 使用NDK將現有的C/C++庫和應用程序移植到Android
- 在Android NDK中開發多媒體Android應用程序

這本書以食譜的形式撰寫,從幫助開發人員將其軟件/應用程序在Android上提供的食譜開始。

本書適合以下讀者:
- 想要學習Android NDK編程或在Android NDK中開發多媒體和遊戲的Android開發人員。