找回密码
 立即注册
相关推荐换一批
  1. 鸿蒙原生应用元服务开发-新版本端云一体化.docx
  2. 鸿蒙原生应用/元服务开发-新手入门练习心得
  3. 鸿蒙原生应用/元服务开发-Stage模型能力接口(二)
  4. 鸿蒙原生应用/元服务开发-Stage模型能力接口(三)
  5. 鸿蒙原生应用/元服务开发-发布基本类型通知开发步骤
  6. 鸿蒙原生应用开发-ArkTS语言基础类库单I/O任务开发
  7. 鸿蒙原生应用开发-ArkTS语言基础类库概述.docx
  8. 鸿蒙原生应用开发-ArkTS语言基础类库异步并发简介async/await
  9. 鸿蒙原生应用开发-ArkTS语言基础类库异步并发简介Promise
  10. 鸿蒙原生应用元服务开发——WebGL网页图形库开发概述
  11. 鸿蒙原生应用元服务开发-WebGL网页图形库开发接口说明
  12. 鸿蒙原生应用元服务开发-WebGL网页图形库开发shader绘制彩色三角形
  13. 鸿蒙原生应用开发-ArkTS语言基础类库多线程@Concurrent装饰器验证并发功能
  14. 鸿蒙原生应用开发-ArkTS语言基础类库多线程CPU密集型任务TaskPool
  15. 鸿蒙原生应用开发-ArkTS语言基础类库多线程CPU密集型任务worker
  16. 鸿蒙原生应用开发-ArkTS语言基础类库多线程并发概述
  17. 鸿蒙原生应用开发-ArkTS语言基础类库多线程TaskPool与Worker对比(一)
  18. AI业务子系统是OpenHarmony提供原生分布式AI能力的子系统。
  19. 鸿蒙 imx6ull驱动代码
  20. Promise原生封装源码
  21. 通过实例学习鸿蒙动态库的创建和使用
  22. ArkTS调用Native函数示例
  23. 苹果 CMS 原生 Java 白菜影视 App 源码
  24. 通往Android的神奇之旅视频教程
原生Androidnativethe | android开发 2022-10-30 35 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
AndroidNDK是在SDK前面又加上了“原生”二字,即NativeDevelopmentKit,因而又被Google称为“NDK”。在此之前,Android平台的第三方使用程序均是依托基于Java的Dalvik特制虚拟机进行开发的。原生SDK的公布可以让开发者愈加直接的触摸Android系统资源,并使用传统的C或C++语言编写程序,并在程序封包文件(.apks)中直接嵌入原生库文件。不过,Google也表示,使用原生SDK编程比较Dalvik虚拟机也有一些下风,比方程序愈加杂乱,兼容性难以保证,无法访问FrameworkAPI,Debug难度更大等。开发者需求自行斟酌使用。众所周知,Android程序运行在Dalvik虚拟机中,NDK允许用户使用相似C/C++之类的原生代码语言履行部分程序。NDK包括了:从C/C++生成原生代码库所需求的工具和buildfiles。将一致的原生库嵌入可以在Android设备上部署的使用程序包文件(applicationpackagesfiles,即.apk文件)中。支持一切未来Android平台的一些列原生系统头文件和库如果你有更多关于的NDK的问题,可以到NDK论坛寻觅答案。

(Android NDK is also called "NDK" by Google because the word "native" is added in front of the SDK, that is, the Native Development Kit. Prior to this, third-party applications of the Android platform were developed based on the Java based Dalvik special virtual machine. The release of the native SDK allows developers to more directly touch Android system resources, write programs using traditional C or C  languages, and directly embed native library files in program package files (. apks). However, Google also said that using native SDK programming has some disadvantages compared with Dalvik virtual machine. For example, the program is more messy, compatibility is difficult to ensure, the Framework API cannot be accessed, and debugging is more difficult. Developers need to use at their own discretion. As we all know, Android programs run in the Dalvik virtual machine, and NDK allows users to use native code languages like C/C  to perform some programs. NDK includes tools and buildfiles required for generating native code libraries from C/C  . Embed the consistent native library into the application package files (i.e.. Apk files) that can be deployed on Android devices. A list of native system header files and libraries supporting all future Android platforms If you have more questions about NDK, you can go to the NDK forum to find the answers.)

[下载]16082488553.rar




上一篇:3G手机Android应用开发第五天课程2.TCPIP协议
下一篇:[转载]Android学习笔记(三)