Android Native Development Kit Cookbook

0
(0)

Android Native Development Kit Cookbook
 

  • Author:Feipeng Liu
  • Length: 346 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2013-03-26
  • ISBN-10: 1849691509
  • ISBN-13: 9781849691505
  • Sales Rank: #2290717 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    A step-by-step tutorial with more than 60 concise recipes on Android NDK development skills

    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.

    Table of Contents

    Chapter 1: Hello NDK
    Chapter 2: Java Native Interface
    Chapter 3: Build and Debug NDK Applications
    Chapter 4: Android NDK OpenGL ES API
    Chapter 5: Android Native Application API
    Chapter 6: Android NDK Multithreading
    Chapter 7: Other Android NDK API
    Chapter 8: Porting and Using the Existing Libraries with Android NDK
    Chapter 9: Porting an Existing Application to Android with NDK

    中文:

    书名:Android Native Development Kit Cookbook

    包含60多个有关Android NDK开发技巧的简明食谱的分步教程

    Overview

    • Build, debug, and profile Android NDK apps
    • 用原生C/C++代码实现部分Android应用程序。
    • 使用Android NDK优化汇编中的代码性能。

    In Detail

    构建Android应用程序通常意味着您要将所有时间都花在Java上。但是,对于正在构建的应用程序来说,有时这不是最有效或最好的方法。这就是Android NDK的用武之地。Android NDK允许开发人员使用Native C/C++编写代码,使您能够重用代码和库,而且在大多数情况下,还可以提高应用程序的速度和效率。

    Android Native Development Kit Cookbook将帮助您了解本地Android应用程序的开发、构建和调试。我们将发现和学习JNI编程和必要的NDK API,如OpenGL ES和本机应用程序API。然后,我们将探索将现有的库和软件移植到NDK的过程。在本书结束时,您将能够在NDK应用程序中构建您自己的应用程序。

    Android原生开发工具包Cookbook”从帮助您构建和调试原生应用程序以及JNI编程的基本食谱开始。这些食谱涵盖了使用Android NDK进行应用程序开发的各种主题,例如OpenGL编程和多媒体编程。我们将从一个简单的配方开始,Hello NDK,然后继续讲述有关OpenGL ES的配方(重点是2D和3D图形)的高级主题,以及讨论使用NDK和外部API的配方。如果您正在寻找方法使您的应用程序在Android中可用,并采取措施提高您的应用程序的性能,那么这本食谱就是为您准备的。

    你将从这本书中学到什么

    • 用C/C++开发Android应用程序,不需要任何Java代码。
    • 在Android NDK中使用OpenGL ES 1X和2.0编程2D/3D图形。
    • 用Android NDK编写多线程Android应用程序。
    • 使用NDK将现有的C/C++库和应用程序移植到Android。
    • 使用Android NDK开发多媒体Android应用程序。

    Approach

    这本书是以Cookbook风格编写的,从专注于帮助开发人员使他们的软件/应用程序在Android中可用的食谱开始。

    Who this book is written for

    想要学习Android NDK编程,或者在Android NDK中开发多媒体和游戏的Android开发人员将从这本书中受益。

    Table of Contents

    Chapter 1: Hello NDK
    第2章:Java本机接口
    Chapter 3: Build and Debug NDK Applications
    第4章:Android NDK OpenGL es API
    第5章:Android原生应用API
    第6章:Android NDK多线程
    Chapter 7: Other Android NDK API
    第8章:通过Android NDK移植和使用现有的库
    第9章:使用NDK将现有应用程序移植到Android

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册