- If you are running android-1.5, then, you can run samples from both android 1.1 or android 1.5 or both. However to load API demos on emulator I used android 1.1 version.
- Hence go to - C:\android-sdk-windows-1.5_r3\platforms\android-1.1\samples
- The following samples codes are provided:
- ApiDemos, HelloActivity, Home, LunarLander, Notepad, SkeletonApp, Snake.
- To load ApiDemos, follow the instruction on Loading Sample Projects from Eclipse to Emulator .
- To Run the project go to Run Configurations and
- Choose Build Target - Android 1.1.
- And then continue exactly as mentioned in the above article.
- You can see that lot of applications are provided by APIDemos. Such as App, Content, Graphics, Media, OS, Text, Views.
- Following are the views provided: Animation, Auto Complete, Buttons, Chronometer, Controls, Custom, Date Widgets, Expandable Lists, Focus, Gallery, Grid, ImageButton, ImageSwitcher, ImageView, Layout Animation, Layouts, Lists, MapView, MapView and Compass, Progress Bar, Radio Group, Rating Bar, ScrollBars, Seek Bar, Spinner, Tabs, TextSwitcher, Visibility, WebView.
- Animations further can have 3D Transition, Push, Shake and they have further categorized. Please click the slide show to see all the views of Animations.
- Slideshow of all the Views.
- It also have media Player and you can run Media Player or VideoPlayer on it.
- Similarly Graphics has a lot of features. Features available on ApiDemo are: AlphaBitmap, AnimateDrawables, Arcs, BitmapDecode, BitmapMesh, CameraPreview, Clipping, ColorMatrix, Compass, CreateBitmap, Drawable, FingerPaint, Layers, MeasureText, OpenGL ES, PathEffects, PathFillTypes, Patterns, Pictures, Points, PolyToPoly, Regions, RoundRects, Scale to Fit, SensorTest, SurfaceViewOverlay, Sweep, TextAlign, Touch Paint, Typefaces, UnicodeChart, Vertices and Xfermodes.
- To view some of the features on Graphics, please click the slide show.
Friday, August 14, 2009
Installing API Demos/Samples on Android Emulator and features on APIDemo.
Labels:
android
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment