Android NDK Beginners Guide, 2nd Edition

0
(0)

Android NDK Beginners Guide, 2nd Edition
 

  • Author:Sylvain Ratabouil
  • Length: 532 pages
  • Edition: 2
  • Publisher: Packt Publishing
  • Publication Date: 2015-04-30
  • ISBN-10: 1783989645
  • ISBN-13: 9781783989645
  • Sales Rank: #2099383 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Discover the native side of Android and inject the power of C/C++ in your applications

    About This Book

    • Create high performance mobile applications with C/C++ and integrate with Java
    • Exploit advanced Android features such as graphics, sound, input, and sensing
    • Port and reuse your own or third-party libraries from the prolific C/C++ ecosystem

    Who This Book Is For

    Are you an Android Java programmer who needs more performance? Are you a C/C++ developer who doesn’t want to bother with the complexity of Java and its out-of-control garbage collector? Do you want to create fast intensive multimedia applications or games? If you’ve answered yes to any of these questions then this book is for you. With some general knowledge of C/C++ development, you will be able to dive headfirst into native Android development.

    What You Will Learn

    • Build your first Android native project from scratch
    • Communicate with Java through Java Native Interfaces
    • Learn the key design intricacies of creating a native OpenGL ES 2.0 graphics application
    • Initialize, play, and record sound and music with OpenSL ES
    • Handle input events and sensors to create different interaction types
    • Port an existing library on Android by compiling most common C++ frameworks on Android
    • Interface and optimize the existing code with RenderScript
    • Combine graphics, sound, input, sensors, and physics in your application

    In Detail

    Android NDK is all about injecting high-performance and portable code into your mobile apps by exploiting the maximum speed of the device they run on.

    This book will show you how to create C/C++-enabled mobile applications and integrate them with Java. The books starts with teaching you how to access native API and port libraries used in some of the most successful Android applications. Next, you will move on to create a real native application project through the complete implementation of a native API and porting existing third-party libraries. Moving forward, you will learn how to access the keyboard and input peripherals and read accelerometer or orientation sensors. Finally, you will dive into more advanced topics such as RenderScript.

    Table of Contents

    Chapter 1: Setting Up Your Environment
    Chapter 2: Starting a Native Android Project
    Chapter 3: Interfacing Java and C/C++ with JNI
    Chapter 4: Calling Java Back from Native Code
    Chapter 5: Writing a Fully Native Application
    Chapter 6: Rendering Graphics with OpenGL ES
    Chapter 7: Playing Sound with OpenSL ES
    Chapter 8: Handling Input Devices and Sensors
    Chapter 9: Porting Existing Libraries to Android
    Chapter 10: Intensive Computing with RenderScript

    中文:

    书名:Android NDK Beginners Guide, 2nd Edition

    了解Android原生的一面,并在您的应用程序中注入C/C++的强大功能

    About This Book

    • 用C/C++创建高性能的移动应用程序,并与Java集成
    • 利用高级Android功能,如图形、声音、输入和传感
    • 移植和重用您自己的库或来自多产的C/C++生态系统的第三方库

    Who This Book Is For

    您是需要更高性能的Android Java程序员吗?您是一名C/C++开发人员,不想为Java的复杂性及其失控的垃圾收集器而烦恼吗?您想要创建快速密集的多媒体应用程序或游戏吗?如果你对其中任何一个问题的回答都是肯定的,那么这本书就是为你而写的。有了一些C/C++开发的一般知识,您将能够一头扎进原生Android开发。

    What You Will Learn

    • Build your first Android native project from scratch
    • Communicate with Java through Java Native Interfaces
    • 了解创建原生OpenGL ES 2.0图形应用程序的关键设计复杂性
    • Initialize, play, and record sound and music with OpenSL ES
    • Handle input events and sensors to create different interaction types
    • 通过在Android上编译最常用的C++框架,在Android上移植现有的库
    • Interface and optimize the existing code with RenderScript
    • 在您的应用程序中结合图形、声音、输入、传感器和物理

    In Detail

    Android NDK就是通过利用移动应用程序运行设备的最大速度,将高性能和可移植的代码注入到您的移动应用程序中。

    本书将向您展示如何创建支持C/C++的移动应用程序并将其与Java集成。这些书首先教你如何访问一些最成功的Android应用程序中使用的本地API和端口库。接下来,您将通过完整的本机API实现和移植现有的第三方库来创建真正的本机应用程序项目。接下来,您将学习如何访问键盘和输入外设以及读取加速计或方向传感器。最后,您将深入了解更高级的主题,如RenderScrip。

    Table of Contents

    Chapter 1: Setting Up Your Environment
    Chapter 2: Starting a Native Android Project
    第3章:Java和C/C++与JNI的接口
    第4章:从本机代码回调Java
    第5章:编写完全本机应用程序
    Chapter 6: Rendering Graphics with OpenGL ES
    Chapter 7: Playing Sound with OpenSL ES
    第8章:处理输入设备和传感器
    第9章:将现有的库移植到Android
    Chapter 10: Intensive Computing with RenderScript

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

    点击星号评分!

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

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

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册