Android的NDK VS SDK - 如果功能关注 [英] android ndk vs sdk - if features are concerned

查看:133
本文介绍了Android的NDK VS SDK - 如果功能关注的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我即将开始的Andr​​oid应用程序的开发。

i am about to start android application development.

什么是NDK 的文档,我是不是能够提取以下信息:

From What is NDK? documentation i was not able to extract following information:

是否使用NDK实际引进比较SDK的新功能?

Does using NDK actually introduce new features comparing to SDK?

我感兴趣的是因为使用NDK大大增加了应用的复杂性,因此,如果我不感兴趣的业绩增长,有其他原因去NDK?

I am interested in this because using NDK greatly increases application complexity, so if i am not interested in performance increase, are there other reasons to go for NDK?

我的意思是,例如:

-restart电话

-restart phone

  • (我既不知道SDK或NDK允许这一点,我只是把它作为例子说明我的意思)让说的Java SDK不允许这样,但一些本地库做的 - 然后回答我的问题是肯定的,NDK做添加一些功能

感谢名单提前任何有用的答案。

Thanx in advance for any helpful answers.

推荐答案

唯一的理由使用NDK的,据我所知道的是挤出额外的性能提升您的应用程序,并得到更接近于裸机。如果你不需要做任何这些事情,你应该远离的NDK。

The only reasons to use the NDK as far as I know is to squeeze extra performance out of your application and get closer to the bare metal. If you don't need to do either of these things, you should probably stay away from the NDK.

另外请注意,在Dalvik虚拟机已经有一些pretty的真棒性能和相对简单的。

Also note that the Dalvik VM already has some pretty awesome performance and comparatively simpler.

这篇关于Android的NDK VS SDK - 如果功能关注的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆