Android NDK
地址
https://developer.android.com/ndk/index.html
介绍
安卓原生开发工具集(Android NDK)是一个可以让你使用原生代码语言例如C和C++来实现应用部分功能的工具集。对于特定类型的一些应用,安卓原生开发工具可以帮助你重复使用由这些语言编写的代码库。
示例代码
public class MyActivity extends Activity {
/**
* Native method implemented in C/C++
* 在C/C++里面实现的原生方法
*/
public native void computeFoo();
}
目录
API指南:
https://developer.android.com/ndk/guides/index.html
API参考:
https://developer.android.com/ndk/reference/index.html
项目示例:
https://developer.android.com/ndk/samples/index.html
相关下载:
https://developer.android.com/ndk/downloads/index.html
近期文章:
https://android-developers.googleblog.com/2016/11/calling-european-game-developers-enter.html
https://android-developers.googleblog.com/2016/06/android-changes-for-ndk-developers.html
https://android-developers.googleblog.com/2016/06/improving-stability-with-private-cc.html
https://android-developers.googleblog.com/2016/04/optimize-develop-and-debug-with-vulkan.html
https://android-developers.googleblog.com/2015/10/game-performance-vertex-array-objects.html
https://android-developers.googleblog.com/2015/10/android-support-library-231.html
https://android-developers.googleblog.com/2015/09/play-games-loot-drop-for-developers.html
https://android-developers.googleblog.com/2015/07/get-your-hands-on-android-studio-13.html
Github
往后的文章将会根据目录内容循序渐进地翻译并解析Android NDK,并将此系列文章和项目代码托管到Github,欢迎读者提出issue,喜欢的读者可以star,希望能够给读者带来收获。
https://github.com/chaozhouzhang/AndroidNDK
微信公众号
微信公众号的微信号:TeochewBlog,将会不定期地向读者推送Android的系列技术文章,欢迎关注阅读。