History log of /development/ndk/sources/android/native_app_glue/android_native_app_glue.h
Revision Date Author Comments
3c7c38b2bb93b2faad372ff9a464dea00f0eb96e 28-Oct-2010 David 'Digit' Turner <digit@google.com> NDK: Last cleanup of the platform headers

- fix a declaration omission in 3/<grp.h>
- add missing 8/<err.h>
- simplify 8/<stdio.h>
- update 9/ headers to the latest Bionic versions
- fix a typo in android_native_app_glue.h
- use __BEGIN_DECLS .. __END_DECLS whenever possible.
- remove C++-style comments from headers

Change-Id: I58b98b3973cde494436206194ba33416a11ca8ee
d3d58cf7d3a508bb855c2ad626205ddcbb3bd237 08-Sep-2010 Dianne Hackborn <hackbod@google.com> Update to follow ALooper ident change.

Also the native-activity sample also has some very simple code showing
how to listen to the accelerometer.

Change-Id: I0629b8bc40cddd66233c1675cd5e8b42a9b722d8
79b946e8f2ccb552e1a3fe8222f660b9a76cc001 04-Aug-2010 Dianne Hackborn <hackbod@google.com> Some native activity sample code cleanup.

Update to include newest headers and library, tweak glue code to
work better with state saving and add support for config changes.

Change-Id: I4d27bd4a0f542f217efaec86cf4f219aca020426
4948c163663ecc343c97e4c2a2139234f1d3273f 14-Jul-2010 David 'Digit' Turner <digit@google.com> Remove prebuilt static library "libthreaded_app.a".

Make the "glue library" part of the NDK as an importable module,
this has several benefits:

- no need to distribute a binary here with no easy way to regenerate it

- no need to explicitely list -lthreaded_app in your LOCAL_LDLIBS
(this is handled automatically by the module import capability)

- allows easier native debugging of what's really happening.

Note that the header is renamed <threaded_native_app.h>

+ Modify the native-activity sample to use and import the new module
+ Start documenting usage in the header file. We probably need something
better, and will probably put it under development/ndk/docs/ at some
point.

After this patch, we should be able to get rid of the code under
framework/base/native/{include.glue}

Change-Id: I6e81d70a225a6ca006beabf6e8b42529e8f371b9