2010/05/21

Android NDK, Revision 4 공개

Android Froyo 공개와 발 맞추어 NDK 도 업그레이드 된 버전이 공개가 되었다. Froyo API 를 지원 한다.



Android NDK, Revision 4 (May 2010)


  • Provides a simplified build system through the new ndk-build build command.

  • Adds support for easy native debugging of generated machine code on production devices through the new ndk-gdb command.

  • Adds a new Android-specific ABI for ARM-based CPU architectures, armeabi-v7a. The new ABI extends the existing armeabi ABI to include these CPU instruction set extensions:


    • Thumb-2 instructions

    • VFP hardware FPU instructions (VFPv3-D16)

    • Optional support for ARM Advanced SIMD (NEON) GCC intrinsics and VFPv3-D32. Supported by devices such as Verizon Droid by Motorola, Google Nexus One, and others.




  • Adds a new cpufeatures static library (with sources) that lets your app detect the host device's CPU features at runtime. Specifically, applications can check for ARMv7-A support, as well as VFPv3-D32 and NEON support, then provide separate code paths as needed.

  • Adds a sample application, hello-neon, that illustrates how to use the cpufeatures library to check CPU features and then provide an optimized code path using NEON instrinsics, if supported by the CPU.

  • Lets you generate machine code for either or both of the instruction sets supported by the NDK. For example, you can build for both ARMv5 and ARMv7-A architectures at the same time and have everything stored to your application's final .apk.

  • To ensure that your applications are available to users only if their devices are capable of running them, Android Market now filters applications based on the instruction set information included in your application — no action is needed on your part to enable the filtering. Additionally, the Android system itself also checks your application at install time and allows the installation to continue only if the application provides a library that is compiled for the device's CPU architecture.

  • Adds support for Android 2.2, including a new stable API for accessing the pixel buffers of Bitmap objects from native code.



<

Original Post : http://neodreamer-dev.tistory.com/443

No comments :

Post a Comment