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 '34ca4b646b20cc209b06fec482e6c77dbc92d220' into gingerbread
* commit '34ca4b646b20cc209b06fec482e6c77dbc92d220':
Add the support for the alarmManager and force the device to wake up.
We now rely instead on the content of $NDK/sources/cxx-stl/system/include
that is automatically used if a module has C++ sources.
Change-Id: I4319d9260fcf9fb31c59c2f21ca64b536725d4f5
Very simple and dumb, but we now get touch events and fill the
window with a color (using OpenGL) based on its location.
Change-Id: I6657d2bb013570238bc0fe639f33c59f1ab68872
This introduces crtbegin_so.o and crtend_so.o and also requires a corresponding
change in the NDK build scripts to use them.
Also add a small test under 'tests/dlclose-destruction' to check that.
Note that this is not a sample (i.e. Android application) per se.
Change-Id: Icf25836363a3ed59310e579ce990aeca868e70e4
Merge commit '1a132581a5ce6188989d8522d227392c05cb42f6' into gingerbread
* commit '1a132581a5ce6188989d8522d227392c05cb42f6':
Add the AUTOTEST_TEST_BEGIN_DELAY keyword to the scripted monkey which allow the power log to start 10 seconds after the event was send out.
In framework-res.apk and in applications, resources are always stored in
zip files instead of compressed so that they may be accessed via mmap()
instead of needing to decompress them first.
This change makes sure the SDK's android.jar has the same behavior.
Change-Id: Ied881c34dca86ff5b5bd2ccfa4e316ae590ca473
Copy current native event APIs over; start updating
sample code to use them.
The native activity sample is now much more real, creating
its own worker thread, which now monitors and prints any
incoming input events.
Note that due to the lack of default key handling, pressing
back no longer works! Will be fixed in a bit. This code
also needs to be refactored to put the engine part into
a separate source file.
Change-Id: I2ab3e6d9f840b99ec9a05bbc0d2cd9314beb23d7
Checks if the test to run is a framework test based on path, and if so
disables the davlik verifier by writing to /data/local.prop and
rebooting device.
Change-Id: Ibf94fb921662b5ddf6136dd12360d5de83a3a284
The idea is to allow developing the NDK in the open, while
having the platforms and samples under a private branch until
the corresponding release are open-sourced.
Change-Id: Iee995fb6c4d3ee1387dea7486e599e079c9e4c6d
Merge commit '71027e1b75951c90c22c9979a505381fae843ed3' into kraken
* commit '71027e1b75951c90c22c9979a505381fae843ed3':
Provision the backup manager in the SDK System image.
Merge commit '7e7d75eefd23debadb67e894bc152e479bdb714f' into kraken
* commit '7e7d75eefd23debadb67e894bc152e479bdb714f':
Add API key to BackupRestore sample code.
Merge commit '27626c03e4db54d1edfaa28f10bef1ef9ded9995' into froyo-plus-aosp
* commit '27626c03e4db54d1edfaa28f10bef1ef9ded9995':
Add API key to BackupRestore sample code.