Learning Android canvas
Subtitle: develop and deploy graphics-rich Android applications using Android Canvas
By: Mir Nauman Tahir
Series: Community experience distilled; Community experience distilled
Publisher: Packt Publishing
Published: 2013
Place of publication: Birmingham
Language: eng
ISBN-13: 9781306157858; 9781783285402; 9781783285396
Subjects: Application software; Development; Mobile computing; Logiciels d'application; Développement; Informatique mobile; COMPUTERS; Programming; General; Android (Electronic resource)
Description: This book is a fast-paced, practical, step-by-step tutorial guide full of examples that are easy to follow and implement. This book is a great resource for developers who have basic Android development knowledge and want to work on graphics-rich applications and games but are totally new to working with graphics and Android Canvas.
Notes: Includes index.
Table of contents: title: Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Android Canvas; Android Canvas; Our first Android Canvas application; Application Name; Project Name; Package Name; Least possible version of SDK; Target SDK; Theme; Mining our first application; The configuration file; The layout file; The code file; Summary; Chapter 2: Drawing Threads; The need for drawing threads; The issue with multithreading in Android; The Thread class; Handler objects that run on the UI thread; AsyncTask.; title: Our main activity class and final outputSummary; Chapter 6: Putting it All Together; The story board; The project and application development; The user interface; Screen orientation; The paint brush; Designing the Control panel; Setting up the layout; Enabling the touch and painting using touch; Enabling the color selection; Spicing up our application with more functions; Saving the painting; Creating a new drawing; Enabling eraser in our application; Summary; Index.