NDK started
来源:互联网 发布:jquery 数组 json 编辑:程序博客网 时间:2024/06/13 23:59
Getting Started with the NDK
The Native Development Kit (NDK) is a set of tools that allow you to leverage C and C++ code in your Android apps. You can use it either to build from your own source code, or to take advantage of existing prebuilt libraries.
The NDK is not appropriate for most novice Android programmers, and has little value for many types of Android apps. It is often not worth the additional complexity it inevitably brings to the development process. However, it can be useful in cases in which you need to:
- Squeeze extra performance out of a device for computationally intensive applications like games or physics simulations.
- Reuse your own or other developers' C or C++ libraries.
This guide gives you the information you need to get up and running with the NDK. It starts by explaining theconcepts underpinning the NDK, and how to set it up. Next, it continues with information about targetingdifferent hardware platforms in your builds. Then, it explains how to use the NDK to build and debug your app. Finally, it discusses how to use your own and other prebuilt libraries.
Building Your Project
One of the NDK's core purposes is allowing you to build C and C++ source code into shared libraries that you can use in your app.
This section explains how to build native binaries for use in your Android app. It begins by explaining theAndroid.mk
file, which defines properties specific to individual modules, or libraries. Then, it explains theApplication.mk
file, which defines properties for all the modules that you use in your app. Next, it tells you how to use the ndk-build
script, which is what the NDK uses to build your sources. Last, it ventures into advanced territory, discussing how to incorporate the NDK into your own toolchain, if you prefer to build that way instead of using ndk-build
.
- NDK started
- Advanced Android: Getting Started with the NDK
- Advanced Android: Getting Started with the NDK
- Advanced Android: Getting Started with the NDK
- NDK的安装(NDK Programmer's Guide-Getting Started with the NDK)
- eclipse上android NDK开发环境的搭建(android-ndk-r10d\docs\Getting Started with the NDK)
- ndk
- NDK
- NDK
- NDK
- ndk
- NDK
- ndk
- ndk
- ndk
- NDK
- NDK
- NDK
- Python编写简易木马程序
- Oracle 简单操作手册
- 4-10 阶乘计算升级版 (20分)
- Spring实现AOP的4种方式
- JAVA开发思想与实例--模块化编程
- NDK started
- 黑马程序员一一递归、IO流
- Android_02_获取SD卡的可用容量
- NSOperation简介
- scikit-learn环境搭建
- http长连接和短连接-转
- list string互转
- 自定义函数、类
- 第二阶段