Files
android_development/samples/ApiDemos
Jeff Brown a4920b722d Improve GameControllerInput demo with input device listeners.
Improves the demo to use the new InputManager API for receiving
notifications when input devices are added, removed or changed.

For example, a game could listen for when new joysticks are
connected or disconnected.

Change-Id: I8ac35206d4f00011145d74c78e91d720aec8f21c
2012-04-12 18:57:28 -07:00
..

The API Demos application includes a variety of small applications 
that illustrate the use of various Android APIs. It includes samples of:
  - Notifications
  - Alarms
  - Progress Dialogs
  - Intents
  - Menus
  - Search
  - Persistent application state
  - Preferences
  - Background Services
  - App Widgets
  - Voice Recognition
  - And many many more...

Api demos is designed to use the compatibility library "android-support-v4.jar".
It is available through the SDK Updater in the "Android Compatibility package".
Once downloaded, copy the jar file into the ApiDemos project libs/ folder.
(If using Eclipse, add it manually to the project build path).