a7d5ca6b2eaaa5a1c7766dea477c0d6c795b3721 |
20-Apr-2013 |
Michael Wright <michaelwr@google.com> |
Stop errors being logged erroneously on event predispatch Change-Id: Ie4d15a7d01b9d63e7db16a2701024e6108eb0cc0
ndroid_native_app_glue.c
|
0d92cf5450184f81c6589c7d6bcf8d6fb3083587 |
20-Mar-2013 |
David 'Digit' Turner <digit@android.com> |
ndk: Fix potential event handling issue in android_native_app_glue Developers report that concurrent events generated from different sources/devices can lead to application freezes then ANRs. See https://code.google.com/p/android/issues/detail?id=41755 where it is suggested that handling all incoming events in the "process_input" callback solves the issue. Hence this patch implements the suggestion, however it's unclear whether this solves the symptom, or the root cause of the problem. Change-Id: Ic6b0ad05d192763a6d8842c8befcb87db9714a3c
ndroid_native_app_glue.c
|
98f56b100c92e1b3ce392fcadc7e8e785f6d813a |
19-Dec-2011 |
David 'Digit' Turner <digit@google.com> |
ndk: disable logs in release builds of native_app_glue library. This patch disables all the logs from the 'native_app_glue' helper library (used to implement native activities with the NDK), unless you're building a debug build. Change-Id: Iaad9d7c48a392ec119704074ab76e131d7806adb
ndroid_native_app_glue.c
|
95ae335fd53daf85b206215423ddf7881b9cb4fd |
02-Feb-2011 |
David 'Digit' Turner <digit@android.com> |
native_app_glue: fix APP_CMD_TERM_WINDOW pre-hook The window field must not be set to NULL in the pre-hook, only the post-one. See http://code.google.com/p/android/issues/detail?id=14352 Change-Id: Ib6214d47c97766bf4a5e148b6b6707e08366fe36
ndroid_native_app_glue.c
|
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
ndroid_native_app_glue.h
|
9f44e9710843c3918e6889b077e11cc4535b0edd |
14-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
Update NDK headers and samples to sync up with looper API changes. Change-Id: I7082603bf280888be90dc4df687521aaae9b1d02
ndroid_native_app_glue.c
|
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
ndroid_native_app_glue.c
ndroid_native_app_glue.h
|
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
ndroid_native_app_glue.c
ndroid_native_app_glue.h
|
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
ndroid.mk
ndroid_native_app_glue.c
ndroid_native_app_glue.h
|