Author Topic: Android NDK r5  (Read 5868 times)

0 Members and 1 Guest are viewing this topic.

Offline krabob

  • Base
    • View Profile
  • Ancienneté: 1994
  • Groupe: Mankind
  • Rôle: code amiga / linux / OpenGL
  • Ville: Toulouse
Android NDK r5
« on: 07 January 2011 à 15:25:00 »
Android NDK, Revision 5 (December 2010)

This release of the NDK includes many new APIs, most of which are introduced to support the development of games and similar applications that make extensive use of native code. Using the APIs, developers have direct native access to events, audio, graphics and window management, assets, and storage. Developers can also implement the Android application lifecycle in native code with help from the new NativeActivity class. [...]

General notes:

        * Adds support for native activities, which allows you to implement the Android application lifecycle in native code.
        * Adds native support for the following:
              o Input subsystem (such as the keyboard and touch screen)
              o Access to sensor data (accelerometer, compass, gyroscope, etc).
              o Event loop APIs to wait for things such as input and sensor events.
              o Window and surface subsystem
              o Audio APIs based on the OpenSL ES standard that support playback and recording as well as control over platform audio effects
              o Access to assets packaged in an .apk file.
        * Includes a new toolchain (based on GCC 4.4.3), which generates better code, and can also now be used as a standalone cross-compiler, for people who want to build their stuff with ./configure && make. See docs/STANDALONE-TOOLCHAIN.html for the details. The binaries for GCC 4.4.0 are still provided, but the 4.2.1 binaries were removed.
        * Adds support for prebuilt static and shared libraries (docs/PREBUILTS.html) and module exports and imports to make sharing and reuse of third-party modules much easier (docs/IMPORT-MODULE.html explains why).
        * Provides a default C++ STL implementation (based on STLport) as a helper module. It can be used either as a static or shared library (details and usage examples are in sources/android/stlport/README). Prebuilt binaries for STLport (static or shared) and GNU libstdc++ (static only) are also provided if you choose to compile against those libraries instead of the default C++ STL implementation. C++ Exceptions and RTTI are not supported in the default STL implementation. For more information, see docs/CPLUSPLUS-SUPPORT.HTML.
        * Includes improvements to the cpufeatures helper library that improves reporting of the CPU type (some devices previously reported ARMv7 CPU when the device really was an ARMv6). We recommend developers that use this library to rebuild their applications then upload to Market to benefit from the improvements.
        * Adds an EGL library that lets you create and manage OpenGL ES textures and services.
        * Adds new sample applications, native-plasma and native-activity, to demonstrate how to write a native activity.
        * Includes many bugfixes and other small improvements; see docs/CHANGES.html for a more detailed list of changes.
Hourra ! J'en révais !
Votez comme ça Mélenchon ... ou Clément Wittman, ... ou Eva ! Oo