Android - An Open Handset Alliance Project
API Demos
samples/ApiDemos/src/com/google/android/samples/graphics/
- Drawable
- Demonstrates creating Drawables in XML.
- OpenGL|ES
- Demonstrates creating 3D graphics using the OpenGL ES library in Android.
- CameraPreview
- Demonstrates capturing the image stream from the camera, drawing to a surface (extending SurfaceView) on a separate thread (extending Thread).
- GL SurfaceView
- Demonstrates how to perform OpenGL rendering in to a SurfaceView.
- PolyToPoly
- Demonstrates calling the Matrix.setPolyToPoly() method to translate coordinates on a canvas to a new perspective (used to simulate perspective).
- Points
- Demonstrates using the Paint and Canvas objects to draw random points on the screen, with different colors and strokes.
- PathEffects
- Demonstrates the use of Path and various PathEffect subclasses.
- SurfaceView Overlay
- Shows how you can place overlays on top of a SurfaceView.
- Touch Paint
- Demonstrates the handling of touch screen events to implement a simple painting app.
Directory Contents
Subdirectories
Files
Build m5-rc15g - 14 May 2008 12:50