Android Drawing Examples
eclipse/ has the eclipse projects, no longer updated. Everything else is in andriod studio
DrawDemo1 uses a canvas from a imageview to draw on. There are 4 fragments. main draws different types of objects, based on a spinner and some need two taps to be drawn like a line. there is a animated fragments to clear an uses a thread, asyc uses a aysctask. draw1 only draws one object on the screen.
drawDemo2 uses a customview to draw on a canvas. There is also a touch listener, to draw blocks.
AlienInvaders is a very simple space invaders like game using a surfaceview.
GraphicOverlayDemo is an example of how to create a customview to draw on other views.
SurfaceViewDemo uses a surfaceview. Since a surface is for "animated" drawing, an alien moves accross the screen. The user touches it and it moves to a new location. It shows to use an extended surfaceview or all it in the activity.
TextureViewDemo is an example of how to draw on a surface (via a canvas) of a TextureView. It uses a thread to update the moving block. It shows to use an extended textureView and how use all the code in the main. (same example as the surfaceViewDemo)
FlappyAlien is a simple FlappyBird clone, to show how a game work work on a TextureView.
AnimatedGifDemo shows how to use the animated Drawable class to have animated gifs. NOTE: api 28+
AnimatedVectorDrawableDemo show how to use Vector graphics animate them. uses the androidx.vectordrawable
legacy no longer updated code.
DrawDemo uses a canvas to draw on, then display via an imageview and is no longer updated
svtest is a very simple SurfaceView to draw and "animate" a moving box and is no longer updated.
gameAnd is a simple game and with broken surfaceView demo code.
These are example code for University of Wyoming, Cosc 4730 Mobile Programming course. All examples are for Android.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
