Files
android_development/samples/ApiDemos
Yohei Yukawa fafac8ef79 Add an API sample to show subtype enabler.
At least on AOSP InputMethodManager#showInputMethodAndSubtypeEnabler()
has been broken for long time.  Also, there has been a valid alternative
way to do the same thing.

This CL adds an API sample to officially encourage people to use
Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS intent rather than trying
to rely on InputMethodManager#showInputMethodAndSubtypeEnabler(), which
is highly likely to be broken.

Bug: 26189558
Change-Id: I915a2d81948598ed08b4ef9111bdd128fd93f3df
2015-12-14 18:59:44 -08: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).