Learning Android Canvas
By Mir Nauman Tahir
Publisher: Packt Publishing
Released: November 2013
Pages: 108

In Detail

When you're writing an application in which you would like to perform specialized drawing and/or control the animation of graphics, you should do so by drawing through a canvas. A canvas works for you as an interface to the actual surface upon which your graphics will be drawn — it holds all of your "draw" calls. Via the Android Canvas, your drawing is actually performed on an underlying Bitmap, which is placed into the window.

Learning Android Canvas is a practical guide, which will help you develop applications that contain rich 2D graphics like backgrounds, buttons, and even some small games with static 2D graphics. The book is full of step-by-step lessons and practical examples. This book helps you develop rich graphical applications and some simple games.

Learning Android Canvas will help you understand everything that is required to develop an Android application that involves creating 2D graphics from scratch to a fully functional complete application. You will start with zero knowledge of using graphics within Android applications and will then go step by step to learn about different objects and techniques. In the end you will be able to develop a complete application fully loaded with graphics and functions.

The book will give you a detailed practical explanation of Nine-Patch images and its importance in designing layouts and backgrounds. We will also take a detailed look at user interactions such as touch, capturing the action, and responding to them accordingly. Finally we will have a working, fully functional graphic application that uses all the knowledge that we have acquired previously.

Approach

This book is a fast-paced, practical, step-by-step tutorial guide full of examples that are easy to follow and implement.

Who this book is for

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.

Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLearning Android Canvas
 
4.5

(based on 2 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 2 customers

Sort by

Displaying reviews 1-2

Back to top

 
4.0

Exelent.

By Ocampo v

from CA

About Me Developer

Verified Buyer

Pros

  • Easy to understand
  • Well-written

Cons

    Best Uses

    • Intermediate
    • Novice
    • Student

    Comments about oreilly Learning Android Canvas:

    excellent if you're learning android and you're a rookie, is short and concise.

    (1 of 1 customers found this review helpful)

     
    5.0

    Nice hands-on start

    By recluze

    from Pakistan

    About Me Designer, Developer, Educator, Sys Admin

    Pros

    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

    • A Little Basic

    Best Uses

    • Novice
    • Student

    Comments about oreilly Learning Android Canvas:

    This is a great short book for developers who want a quick, hands-on approach to working with canvas on the latest Android OS. It starts with a quick introduction and dives directly into code. So, you get to see the output much sooner than most other books. That's quite useful when you want to first experience the results of your code rather than read up on the theory in detail.

    It covers a lot of concepts and is quite concise. The only concern I have is that it skips the installation of the Android development environment but that is a simple download and extract so shouldn't be that big of an issue for readers.

    Overall, recommended highly for a read.

    Displaying reviews 1-2

    Back to top

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook: $17.99
    Formats:  ePub, Mobi, PDF