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
this is a small particle + physics system that shows how
to integrate accleration data into positions accurately.
Change-Id: I3bbdc433f52d98464269ac8cb996c4cf037ae8d6
Merge commit '349d7453088fb63fd786fb1f49f7cf0707329319'
* commit '349d7453088fb63fd786fb1f49f7cf0707329319':
Copy over updated NDK APIs and follow other API changes.
Merge commit '98b2c359c2b3361f43e14b0c5d07a02c055dd10e' into gingerbread-plus-aosp
* commit '98b2c359c2b3361f43e14b0c5d07a02c055dd10e':
Copy over updated NDK APIs and follow other API changes.
Merge commit '1ccc674237fe5b0ed4a03161f0aa7067e4e6fbd6'
* commit '1ccc674237fe5b0ed4a03161f0aa7067e4e6fbd6':
Migrate to new keycode constants in keycodes.h.
Merge commit 'fd606bc303bdf1fafefc4a6b79d050faa26d0800' into gingerbread-plus-aosp
* commit 'fd606bc303bdf1fafefc4a6b79d050faa26d0800':
Migrate to new keycode constants in keycodes.h.
Merge commit '5ef6b2f2568944e9dedf31c83716b8dd94dd506a' into gingerbread-plus-aosp
* commit '5ef6b2f2568944e9dedf31c83716b8dd94dd506a':
ndk sample hello-neon: use $(call import-module) to access the 'cpufeatures' library
This shows direct drawing to an ANativeWindow's bits.
Update the NDK API, and fix a bug in the native-activity app where it
would hang while exiting.
Change-Id: I4fa98d083405eb0d1b22b10a73a2ef18d45fdb59
Merge commit '9aff3c7d58e7ee737033a4da23d5c590e36ed78e'
* commit '9aff3c7d58e7ee737033a4da23d5c590e36ed78e':
ndk: Add a test to check that prebuilt libraries work as expected.
Merge commit 'f68d6af83f8f99714c139d867e8328f558480f28' into gingerbread-plus-aosp
* commit 'f68d6af83f8f99714c139d867e8328f558480f28':
ndk: Add a test to check that prebuilt libraries work as expected.
Merge commit '6d45237078f729f5c7467467406162e723c8ac3c'
* commit '6d45237078f729f5c7467467406162e723c8ac3c':
Update native_activity sample to use new glue code.
Merge commit 'd1ca4f3a55d83298596793cea137f8fcb979bae5'
* commit 'd1ca4f3a55d83298596793cea137f8fcb979bae5':
Add the support for the alarmManager and force the device to wake up.
Merge commit 'eefb5c2dca087c2b0a0ef90e15db00fb5523d8af' into gingerbread-plus-aosp
* commit 'eefb5c2dca087c2b0a0ef90e15db00fb5523d8af':
Update native_activity sample to use new glue code.
The native_activity sample is now built with the new threaded_app
glue code, removing all of the boiler-plate code from it. This
adds the glue code (header and .a) to the NDK.
Change-Id: I2a7be473811f22f948dcda3da8034dd0bd62049d
Merge commit 'ec87ca5f3abb615d75ee68ad977b3a17c3c7d3ab' into gingerbread-plus-aosp
* commit 'ec87ca5f3abb615d75ee68ad977b3a17c3c7d3ab':
Add the support for the alarmManager and force the device to wake up.