PacktLib: Learning Android Canvas

Learning Android Canvas

Credits

About the Author

Acknowledgments

About the Reviewers

www.PacktPub.com

Preface

Getting Started with Android Canvas

Android Canvas

Our first Android Canvas application

Mining our first application

Summary

Drawing Threads

The need for drawing threads

The issue with multithreading in Android

The Thread class

Summary

Drawing and Drawables in Android Canvas

Drawing on a Canvas

Shape Drawables

Summary

NinePatch Images

Creating a NinePatch image

Using a NinePatch image

Summary

Touch Events and Drawing on Canvas

Some background knowledge

Application development

Summary

Putting it All Together

The story board

The project and application development

Summary

Index