Files
android_development/samples/ApiDemos
Peter Visontay 6b7860e588 Remove obsolete code from the InstallApk API demo.
1) Remove the "Refresh package" demo. This was using Intent.EXTRA_ALLOW_REPLACE, which was deprecated in API 16.
2) Java code cleanup.

Test: Manually.
Change-Id: I0cbff934ca223a3fe73a1044ed68f3e079be8237
2017-11-17 10:00:02 +00: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).