欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Android ApiDemo示例工程的創(chuàng)建

 更新時(shí)間:2016年09月04日 10:17:37   投稿:lqh  
本文主要介紹Android ApiDemo示例工程的創(chuàng)建,這里SDK中的示例工程做了大致介紹,并說(shuō)明如何創(chuàng)建ApiDemo 示例工程,有需要看自帶代碼的朋友可以參考下

  一般SDK中都會(huì)帶有一些示例程序,說(shuō)明具體用法,Android SDK也是如此。它提供了一些ApiDemo示例,詳細(xì)說(shuō)明了Android中主要API,分為以下幾大類:

       1、App

       2、Content

       3、Graphics

       4、Media

       5、OS

       6、Text

       7、Views

       每個(gè)大類又分為幾個(gè)小類,一共大約有200多個(gè)實(shí)例,涵蓋了Android OS API的各個(gè)方面。下面是所有示例的列表:

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

       本示例解讀系列將逐個(gè)介紹每個(gè)示例中涉及到的知識(shí)及相關(guān)類的用法.

       首先是使用Eclipse創(chuàng)建一個(gè)ApiDemo示例工程:File ->New Android Project 選擇Create project from existing sample (不同Android版本有對(duì)應(yīng)的ApiDemo示例)。

 以上就是對(duì)Android  ApiDemo 示例工程的創(chuàng)建,希望能幫助到有需要的小伙伴!

相關(guān)文章

  • 基于SurfaceView實(shí)現(xiàn)可拖動(dòng)視頻控件

    基于SurfaceView實(shí)現(xiàn)可拖動(dòng)視頻控件

    這篇文章主要為大家詳細(xì)介紹了基于SurfaceView的可拖動(dòng)視頻控件,文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2018-04-04
  • Android學(xué)習(xí)之本地廣播使用方法詳解

    Android學(xué)習(xí)之本地廣播使用方法詳解

    這篇文章主要為大家詳細(xì)介紹了Android學(xué)習(xí)之本地廣播使用方法,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2017-08-08
  • Android 軟引用和弱引用詳解及實(shí)例代碼

    Android 軟引用和弱引用詳解及實(shí)例代碼

    這篇文章主要介紹了Android 軟引用和弱引用詳解的相關(guān)資料,并附實(shí)現(xiàn)實(shí)例代碼,需要的朋友可以參考下
    2016-11-11
  • Android實(shí)現(xiàn)頂部底部雙導(dǎo)航界面功能

    Android實(shí)現(xiàn)頂部底部雙導(dǎo)航界面功能

    這篇文章主要為大家詳細(xì)介紹了Android實(shí)現(xiàn)頂部\底部雙導(dǎo)航界面功能,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2016-09-09
  • Android使用vcard文件的方法簡(jiǎn)單實(shí)例

    Android使用vcard文件的方法簡(jiǎn)單實(shí)例

    這篇文章主要介紹了Android使用vcard文件的方法,結(jié)合實(shí)例形式分析了Android針對(duì)vcard文件的打開(kāi)、讀取、寫入等相關(guān)操作技巧,具有一定參考借鑒價(jià)值,需要的朋友可以參考下
    2016-06-06
  • Android CoordinatorLayout詳解及實(shí)例代碼

    Android CoordinatorLayout詳解及實(shí)例代碼

    這篇文章主要介紹了Android CoordinatorLayout詳解及實(shí)例代碼的相關(guān)資料,CoordinatorLayout基本實(shí)現(xiàn)兩個(gè)功能: 作為頂層布局 和調(diào)度協(xié)調(diào)子布局,這里詳細(xì)介紹此部分知識(shí),需要的朋友可以參考下
    2016-12-12
  • flutter實(shí)現(xiàn)頭部tabTop滾動(dòng)欄

    flutter實(shí)現(xiàn)頭部tabTop滾動(dòng)欄

    這篇文章主要為大家詳細(xì)介紹了flutter實(shí)現(xiàn)頭部tabTop滾動(dòng)欄,文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2022-03-03
  • Android進(jìn)階手寫IPC通信框架告別繁瑣AIDL

    Android進(jìn)階手寫IPC通信框架告別繁瑣AIDL

    這篇文章主要為大家介紹了Android進(jìn)階手寫IPC通信框架告別繁瑣AIDL實(shí)現(xiàn)詳解,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪
    2023-01-01
  • Android震動(dòng)與提示音實(shí)現(xiàn)代碼

    Android震動(dòng)與提示音實(shí)現(xiàn)代碼

    這篇文章主要為大家詳細(xì)介紹了Android震動(dòng)與提示音實(shí)現(xiàn)代碼,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2016-12-12
  • Android基礎(chǔ)之常用控件屬性介紹

    Android基礎(chǔ)之常用控件屬性介紹

    大家好,本篇文章主要講的是Android基礎(chǔ)之常用控件屬性介紹,感興趣的同學(xué)趕快來(lái)看一看吧,對(duì)你有幫助的話記得收藏一下,方便下次瀏覽
    2021-12-12

最新評(píng)論