为了让Android应用开发的人员能更好的学习Android平台,Google为Android应用开发提供了API调用的例子,应有尽有啊,各种示例,把好东西发出来给大家分享下,API Demos集成在Android的SDK中,但是默认是不下载的,需要在SDK的下载器里手动下载,我把API Demos和API部分的源码放在群共享里,用的着的来下载吧,群号:72349065,欢迎来一起交流学习!
现在来简单介绍下API Demos吧
包含7个部分App,Content,Graphics,Media,OS,Text,Views
App:应用的组成部分的示例,包括:Activity,Alarm,Device Admin,Dialog,Intents,Launcher Shortcuts,Menu,Notification,Preferences,Search,Service,Text-To-Speech,Voice Recognition
Content:资源类的调用示例:包括:Assets,Provider,Resources,Storage
Graphics:图形类示例:包括:AlphaBitmap,AnimateDrawables,Arcs,BitmapDecode,BitmapMesh,BitmapPixels,CameraPreview,Clipping,ColorFilters,ColorMatrix,Compass,CreateBitmap,Density,Drawable,FingerPaint,Layers,MeasureText,OpenGL ES,PathFillTypes,Patterns,Pictures,Points,PolyToPoly,Purgeablebitmap,Regions,RoundRects,ScaleToFit,SensorTest,Surface Window,SurfaceView Overlay,Sweep,Text Align,Touch Paint,Typefaces,UnicodeChart,Vertices,Xfermodes
Media:媒体部分示例:包括:AudioFx,MediaPlayer,VidesView
OS:系统部分示例: Morse Code,Sensors,SMS Messageing
Text:文本类控件示例:Linkify,LogTextBox,Marquee
Views:视图类示例:Animation,Auto Complete,Buttons,Chronometer,Controls,Custom,Date Widgets,Expandable Lists,Focus,Gallery,Grid,Imagebutton,ImageSwitcher,ImageView,Layout Animation,Layouts,Lists,Progess Bar,Radio Group,Rating Bar,ScrollBars,Secure View,Seek Bar,Spinner,Tabs,TestSwitcher,VisiBility,WebView
API Demos也避免了,网上个人写的调用方法片面与不规范的问题,很不错的东西
------------------------------------------------
欢迎加入群:72349065,一起来交流学习