22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
page.title=Android NDK
|
|
@jd:body
|
|
|
|
|
|
|
|
<p>The NDK is a toolset that allows you to implement parts
|
|
of your app using native-code languages such as C and C++. Typically, good use cases for the NDK
|
|
are CPU-intensive applications such as game engines, signal processing, and physics simulation.
|
|
</p>
|
|
|
|
<p>Before downloading the NDK, you should understand that <strong>the NDK
|
|
will not benefit most apps</strong>. As a developer, you need to balance its benefits
|
|
against its drawbacks. Notably, using native code on Android
|
|
generally does not result in a noticable performance improvement,
|
|
but it always increases your app complexity. In general, you should only use the NDK
|
|
if it is essential to your app—never because you simply prefer to program in C/C++.
|
|
When examining whether or not you should develop in native code, think about your requirements and
|
|
see if the Android framework APIs provide the functionality that you need.</p>
|
|
|
|
<a class="dac-hero-cta" href="{@docRoot}ndk/index.html">
|
|
<span class="dac-sprite dac-auto-chevron"></span> NDK Documentation and Downloads</a>
|