NDK de Android

El NDK de Android es un conjunto de herramientas que te permite implementar partes de tu app en código nativo a través de lenguajes como C y C++. Para determinados tipos de apps, puede ayudarte a reutilizar bibliotecas de código escritas en esos lenguajes.
class MyActivity : Activity() {
  /**
   * Método nativo implementado en C/C++
   */

  external fun computeFoo()
}

Noticias más recientes

Updated 20 de febrero de 2020

One thing that NDK users struggle with is managing native dependencies: With version 4.0 of the Android Gradle Plugin, we’ve addressed these issues by adding support for distributing and exposing native libraries through the same mechanism that you

Updated 5 de diciembre de 2019

With over 2.5 billion monthly active devices, the Android Platform gives incredible reach for game developers. Taking advantage of that opportunity can be a challenge, particularly if your game really tries to push the limits of what mobile can do.

Updated 17 de octubre de 2019

Android NDK r21 is now in beta! It’s been a longer than usual development cycle (four months since NDK r20), so there’s quite a lot to discuss for this release. We have the usual toolchain updates, improved defaults for better security and

Optimiza tu código nativo

Updated 22 de agosto de 2024

Android Studio incluye una interfaz gráfica para Simpleperf, que se documenta en Cómo inspeccionar la actividad de la CPU con el Generador de perfiles de CPU. La mayoría de los usuarios preferirán usarla en lugar de usar directamente Simpleperf. Si

Updated 18 de mayo de 2017

Mobile games have better graphics and deeper gameplay than ever before. This means that developers need to optimize their games to get the best experience on each device to meet the expectations of their users. In this session, you will see how

Updated 17 de mayo de 2017

Android native applications typically use Java objects that "own" C++ objects. When the Java garbage collector detects that the Java object is no longer needed, the Java object either explicitly deallocates the C++ object, or decrements its reference