|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/android-ndk-programming-master-class/
课程评论:没有评论
**课程名称:** Android NDK 编程:大师班 **课程概述:** 本课程是一门关于Android NDK(Native Development Kit)编程的实践课程。学完本课程后,您将能够使用C/C++代码为您的Android应用编写高性能程序,并将现有的C/C++库集成到您的Android应用中。 **先修知识:** * **基本Java编程技能:** 大多数Android应用都使用Java开发,因此具备此技能是必需的。 * **基本C/C++编程技能:** 建议具备此技能,这将非常有帮助。 * **基础Android开发经验:** 具备一些基础的Android开发经验将更有益于学习。 **Android NDK 简介:** Android NDK 是一套允许您在 Android 应用中嵌入C或C++(“原生代码”)的工具。对于希望实现以下目标的开发者而言,使用原生代码在 Android 应用中特别有用: * **跨平台移植应用。** * **重用现有库或提供自己的库供重用。** * **在特定情况下提高性能,尤其是游戏等计算密集型应用。** **JNI(Java Native Interface):** JNI 定义了一种让 Android 从托管代码(用 Java 或 Kotlin 编写)编译的字节码与原生代码(用 C/C++ 编写)进行交互的方式。JNI 是厂商无关的,支持从动态共享库加载代码,并且虽然有时会比较繁琐,但效率相当高。 **课程内容亮点:** * **搭建 Android NDK 开发环境:** 学习如何设置您的开发环境,为 NDK 编程做好准备。 * **创建您的第一个 NDK 程序:** 迈出 NDK 编程的第一步,编写并运行您的第一个原生代码应用。 * **编译和集成 FFmpeg:** FFmpeg 是一个非常流行的、多平台支持的强大媒体处理库,几乎可以完成所有媒体处理任务。您将学习如何在 Android Studio 中编译和构建最新的 FFmpeg,并在您的应用中使用它。
This is a practical class about Android NDK programming. After learning this class, you will be able to write high performance program with C/C++ code for your Android Apps. And you can integrate existing C/C++ libraries into your Android Apps.This course has two prerequisites. Firstly, basic Java programming skills is required as most Android apps are developed in Java code. Secondly, basic C/C++ programming skills is recommended. It will be helpull if you hava some basic Android development experience.The Android NDK is a set of tools allowing you to embed C or C++ ("native code") into your Android apps. The ability to use native code in Android apps can be particularly useful to developers who wish to do one or more of the following:Port their apps between platforms.Reuse existing libraries, or provide their own libraries for reuse.Increase performance in certain cases, particularly computationally intensive ones like games.JNI is the Java Native Interface. It defines a way for the bytecode that Android compiles from managed code (written in the Java or Kotlin programming languages) to interact with native code (written in C/C++). JNI is vendor-neutral, has support for loading code from dynamic shared libraries, and while cumbersome at times is reasonably efficient.This lecture will teach you setup Android NDK develop environment and create your first NDK program.FFMPEG is one of the most popular or powerful media processing library with multiple platform support and it is capable of doing Most of Media processing task. You will learn Compile/Build Latest ffmpeg for Android and Use it in Android Studio.