Logo Icon Logo
A Crowd-sourced Cookbook on Writing Great Android® Apps
GitHub logo Twitter logo OReilly Book Cover Art

Introduction: Graphics

In Chapter: Graphics
Author: Ian Darwin ('idarwin')
Published? true
FormatLanguage: WikiFormat


Computer graphics are any kind of display for which there isn’t a GUI component: charting, displaying pictures, and so on. Android is well provisioned for graphics, including a full implementation of OpenGL EL, a subset of OpenGL intended for smaller devices.

The chapter starts with a recipe for using a custom font for special text effects, then some recipes on GL graphics proper, and a note on graphical “touch” input. From there we continue the input theme with various image capture techniques. Then we have some recipes on graphics files, and one to round out the chapter discussing “pinch to zoom,” using user touch input to scale graphical output.