Dianne Hackborn 85448bbecd Add new glue code for writing native apps.
This factors out the boiler-plate code from the sample
app to a common glue code that can be used for everyone
writing this style of app: a dedicated app thread that
takes care of waiting for events and processing them.

As part of doing this, ALooper has a new facility to allow
registration of fds that cause ALooper_pollOnce() to return
the fd that has data, allowing the app to drive the loop
without callbacks.  Hopefully this makes some people feel better. :)

Also do some other cleanup of the ALooper API, plus some
actual documentation.

Change-Id: Ic53bd56bdf627e3ba28a3c093faa06a92be522b8
2010-07-08 11:06:59 -07:00
..
2009-07-07 10:01:12 -07:00
2009-03-03 19:31:44 -08:00
2009-05-31 19:13:00 -07:00
2010-07-07 09:57:50 -07:00
2010-04-28 16:51:52 -07:00
2010-05-28 15:13:30 -07:00
2010-05-19 15:12:59 -07:00