The Android Apidemo sample project was created _android

Source: Internet
Author: User

There are some sample programs in the General SDK that illustrate the exact usage, as is the case with the Android SDK. It provides some examples of Apidemo, detailing the major APIs in Android, grouped into the following broad categories:

1. App

2. Content

3, Graphics

4. Media

5, OS

6, Text

7, views

Each large class is divided into smaller classes, with a total of more than 200 instances, covering all aspects of the Android OS API. The following is a list of all the examples:

App/activity/animation
App/activity/custom Dialog
App/activity/custom Title
App/activity/dialog
App/activity/forwarding
App/activity/hello World
App/activity/persistent State
App/activity/quickcontactsdemo
App/activity/receive result
App/activity/redirection
App/activity/reorder Activities
App/activity/save & Restore State
App/activity/setwallpaper
App/activity/translucent
App/activity/translucent Blur
App/activity/wallpaper
App/alarm/alarm Controller
App/alarm/alarm Service
App/device Admin
App/dialog
App/intents
App/launcher shortcuts
App/menu/inflate from XML
App/notification/incomingmessage
App/notification/notifying Service Controller
App/notification/notifywithtext
App/notification/status Bar
App/preferences/1. Preferences from XML
App/preferences/2. Launching preferences
App/preferences/3. Preference Dependencies
App/preferences/4. Default values
APP/PREFERENCES/5. Preferences from Code
App/preferences/6. Advanced Preferences
App/search/invoke Search
App/search/query Search Results
App/service/foreground Service Controller
App/service/local Service Binding
App/service/local Service Controller
App/service/messenger Service
App/service/remote Service Binding
App/service/remote Service Controller
App/service/service Start Arguments Controller
App/text-to-speech
App/voice recognition
Content/assets/read Asset
Content/resources/resources
Content/resources/styled Text
Content/storage/external Storage
Graphics/alphabitmap
Graphics/animatedrawables
Graphics/arcs
Graphics/bitmapdecode
Graphics/bitmapmesh
Graphics/bitmappixels
Graphics/camerapreview
Graphics/clipping
Graphics/colorfilters
Graphics/colormatrix
Graphics/compass
Graphics/createbitmap
Graphics/density
Graphics/drawable/gradientdrawable
Graphics/drawable/shapedrawable
Graphics/fingerpaint
Graphics/layers
Graphics/measuretext
Graphics/opengl es/compressed Texture
Graphics/opengl Es/cube Map
Graphics/opengl es/frame Buffer Object
Graphics/opengl Es/glsurfaceview
Graphics/opengl Es/kube
Graphics/opengl Es/matrix Palette Skinning
Graphics/opengl Es/opengl ES 2.0
Graphics/opengl Es/sprite Text
Graphics/opengl es/textured Triangle
Graphics/opengl Es/touch Rotate
Graphics/opengl es/translucent Glsurfaceview
Graphics/patheffects
Graphics/pathfilltypes
Graphics/patterns
Graphics/pictures
Graphics/points
Graphics/polytopoly
Graphics/purgeablebitmap/nonpurgeable
Graphics/purgeablebitmap/purgeable
Graphics/regions
Graphics/roundrects
Graphics/scaletofit
Graphics/sensortest
Graphics/surfaceview Overlay
Graphics/sweep
Graphics/text Align
Graphics/touch Paint
Graphics/typefaces
Graphics/unicodechart
Graphics/vertices
Graphics/xfermodes
Media/mediaplayer
Media/videoview
Os/morse Code
Os/sensors
Os/sms Messaging
Text/linkify
Text/logtextbox
Text/marquee
Views/animation/3d Transition
Views/animation/interpolators
Views/animation/push
Views/animation/shake
Views/auto COMPLETE/1. Screen Top
Views/auto COMPLETE/2. Screen Bottom
Views/auto COMPLETE/3. Scroll
Views/auto COMPLETE/4. Contacts
Views/auto COMPLETE/5. Contacts with Hint
Views/auto COMPLETE/6. Multiple items
Views/buttons
Views/chronometer
Views/controls/1. Light Theme
Views/controls/2. Default Theme
Views/custom
Views/date WIDGETS/1. Dialog
Views/date WIDGETS/2. Inline
Views/expandable LISTS/1. Custom Adapter
Views/expandable LISTS/2. Cursor (People)
Views/expandable LISTS/3. Simple Adapter
Views/focus/1. Vertical
Views/focus/2. Horizontal
Views/focus/3. Circular
Views/focus/4. Internal Selection
Views/gallery/1. Photos
VIEWS/GALLERY/2. People
Views/grid/1. Icon Grid
VIEWS/GRID/2. Photo Grid
Views/imagebutton
Views/imageswitcher
Views/imageview
Views/layout ANIMATION/1. Grid Fade
Views/layout ANIMATION/2. List Cascade
Views/layout ANIMATION/3. Reverse Order
Views/layout ANIMATION/4. Randomize
Views/layout ANIMATION/5. Grid Direction
Views/layout ANIMATION/6. Wave Scale
Views/layout ANIMATION/7. Nested Animations
Views/layouts/baseline/1. Top
Views/layouts/baseline/2. Bottom
Views/layouts/baseline/3. Center
Views/layouts/baseline/4. Everywhere
VIEWS/LAYOUTS/BASELINE/5. Multi-line
Views/layouts/baseline/6. Relative
views/layouts/baseline/nested Example 1
views/layouts/baseline/nested Example 2
views/layouts/baseline/nested Example 3
VIEWS/LAYOUTS/LINEARLAYOUT/1. Vertical
Views/layouts/linearlayout/10. Background Image
VIEWS/LAYOUTS/LINEARLAYOUT/2. Vertical (Fill screen)
Views/layouts/linearlayout/3. Vertical (padded)
Views/layouts/linearlayout/4. Horizontal
VIEWS/LAYOUTS/LINEARLAYOUT/5. Simple Form
VIEWS/LAYOUTS/LINEARLAYOUT/6. Uniform Size
Views/layouts/linearlayout/7. Fill Parent
Views/layouts/linearlayout/8. Gravity
Views/layouts/linearlayout/9. Layout Weight
VIEWS/LAYOUTS/RELATIVELAYOUT/1. Vertical
VIEWS/LAYOUTS/RELATIVELAYOUT/2. Simple Form
Views/layouts/scrollview/1. Short
VIEWS/LAYOUTS/SCROLLVIEW/2. Long
Views/layouts/scrollview/3. Internal Selection
Views/layouts/tablelayout/01. Basic
Views/layouts/tablelayout/02. Empty Cells
Views/layouts/tablelayout/03. Long Content
Views/layouts/tablelayout/04. Stretchable
Views/layouts/tablelayout/05. Spanning and stretchable
Views/layouts/tablelayout/06. More spanning and stretchable
Views/layouts/tablelayout/07. Column Collapse
Views/layouts/tablelayout/08. Toggle Stretch
views/layouts/tablelayout/09. Toggle Shrink
Views/layouts/tablelayout/10. Simple Form
Views/layouts/tablelayout/11. Gravity
VIEWS/LAYOUTS/TABLELAYOUT/12. Cell spanning
Views/lists/1. Array
Views/lists/10. Single Choice list
Views/lists/11. Multiple Choice List
VIEWS/LISTS/12. Transcript
VIEWS/LISTS/13. Slow Adapter
VIEWS/LISTS/14. Efficient Adapter
Views/lists/2. Cursor (People)
Views/lists/3. Cursor (Phones)
Views/lists/4. ListAdapter
VIEWS/LISTS/5. Separators
Views/lists/6. ListAdapter collapsed
Views/lists/7. Cursor (Phones)
Views/lists/8. Photos
VIEWS/LISTS/9. Array (Overlay)
Views/progress BAR/1. Incremental
Views/progress BAR/2. Smooth
Views/progress BAR/3. Dialogs
Views/progress BAR/4. In Title Bar
Views/radio Group
Views/rating Bar
Views/scrollbars/1. Basic
Views/scrollbars/2. Fancy
Views/scrollbars/3. Style
Views/seek Bar
Views/spinner
Views/tabs/content by Factory
Views/tabs/content by Id
Views/tabs/content by Intent
Views/textswitcher
Views/visibility
Views/webview

This example interprets the series to describe the knowledge involved in each example and the use of related classes, one by one.

The first is to create a Apidemo sample project using Eclipse: File->new Android Project Select Create Project from existing sample (Different versions of Android have corresponding Apidemo examples).

This is the Android Apidemo example project to create, I hope to help the need for small partners!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.