Android NDK翻译与解析(一)

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的系列技术文章,欢迎关注阅读。

TeochewBlog

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值