• Complain

Mir Nauman Tahir - Learning Android Canvas

Here you can read online Mir Nauman Tahir - Learning Android Canvas full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2013, publisher: Packt Publishing, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Mir Nauman Tahir Learning Android Canvas

Learning Android Canvas: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Learning Android Canvas" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Develop and deploy graphics-rich Android applications using Android Canvas

Overview

  • Understand user interactions and respond to those actions
  • Discover how to work with graphics in Android from scratch
  • Using a step by step approach, create a graphics-rich, fully functional application
  • Use Nine-Patch image

In Detail

When youre 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.

What you will learn from this book

  • Create a drawable thread to take away the load from the main thread
  • Develop important drawables and shapes
  • Understand the actions performed by users, capturing them, and responding to them
  • Unfold the basics of nested layouts
  • Design your own View classes and use them in the main class
  • Discover the graphics used as backgrounds of the whole screen or controls like buttons
  • Draw on the Android Canvas and Views
  • Set up the listener for touch events

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 written 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.

Mir Nauman Tahir: author's other books


Who wrote Learning Android Canvas? Find out the surname, the name of the author of the book and a list of all author's works by series.

Learning Android Canvas — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Learning Android Canvas" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Learning Android Canvas

Learning Android Canvas

Copyright 2013 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: November 2013

Production Reference: 1181113

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78328-539-6

www.packtpub.com

Cover Image by Aniket Sawant (<>)

Credits

Author

Mir Nauman Tahir

Reviewers

Luca Mezzalira

Daniel Nadeau

Acquisition Editors

Usha Iyer

James Jones

Commissioning Editor

Mohammed Fahad

Technical Editors

Anita Nayak

Amit Shetty

Copy Editors

Alisha Aranha

Aditya Nair

Deepa Nambiar

Project Coordinator

Michelle Quadros

Proofreader

Stephen Copestake

Indexer

Priya Subramani

Graphics

Abhinash Sahu

Production Coordinator

Nitesh Thakur

Cover Work

Nitesh Thakur

About the Author

Mir Nauman Tahir completed his MS in Information Technology from Khyber Pakhtoonkhwa, Pakistan. He specialized in web technologies. He is also a Microsoft Certified Technology Specialist. He started his professional programming career in 2004 and has worked on developing different systems, such as Library Management System, Procurement System, a lot of web applications, and dynamic websites with content management systems. Mir worked on the Android source code for almost 1.5 years in a research group as a developer and published a research paper on the basis of his research with that team. Mir has also worked on other open source technologies such as OpenERP, PostGre-SQL, and different flavors of Linux. Mir currently has more than eight years of industry experience consisting majorly of in-house development for some of Pakistan's most well reputed organizations and universities.

He started his career as a Software Engineer for COMSATS Institute of Information Technology, Abbottabad, Pakistan and has since worked with Security Engineering Research Group, Peshawar, Pakistan; UN-HABITAT, Pakistan; Save the Children, Pakistan; and currently working as an Information Management Officer in a well-reputed humanitarian organization in Pakistan.

This is Mir's first book, but he writes most of his technical articles on his personal blog, http://mirnauman.wordpress.com. The articles are mostly about Android and Microsoft .Net technologies. Mir loves sketching and playing computer games.

Acknowledgments

I would like to thank my mother, Farkhanda Roohi, for providing all the motivation to take up the challenging task of writing this book and my father, Shahzaman Khan, for teaching me to adjust when I had a million things to do in a day other than writing this book. I especially thank my wife, Manahil Mir, for her support in completing the book and keeping to her promise that she wouldn't ask me to take her shopping when I come back from the office and had to work on the book. I would like to mention my elder brother, Dr. Zeeshan Mir, and younger brother, Mir Mohammad Suleman Sarwar, here; they asked me to include their names in this section because my first book is just as important to them as it is to me. I love my family a lot and I live for them. Last but not the least, I would like to thank Packt Publishing for giving me the chance to make this dream come true.

About the Reviewers

Luca Mezzalira is an Italian software developer oriented towards frontend technologies and has a great passion for the techie world. He has been an Adobe Certified Expert and Instructor since 2002. He became an Adobe Italy consultant and, after few years, an Adobe Community Professional as well. Luca worked on many projects for different environments, from web to desktop applications and from embedded systems to mobile applications.

His passion for and his focus on new technologies allowed him to work on a lot of projects for important Italian and international companies with great results. To complete his list of skills, Luca is also a teacher, a speaker in national and international events, and a writer for technical magazines and books. In his spare time, he likes to watch football, play with his dogs Paco and Maya, and study new programming languages.

My first giant thank you is for my family, who have always helped me, and in particular for my parents, who support and inspire me everyday with their strength and love.

Big thanks to my brother who is also one of my best friends. He is the most intelligent person that I've ever met in my life, and his suggestions and his ideas are the most important thing for me.

Then, I really have a lot of other friends to say thanks to, for what we have created together until now. I hope I haven't forgotten anybody: Thomas Baggio, Marzia Baggio, Piergiorgio Niero, Chiara Niero, Matteo Oriani, Manuele Mimo, Sofia Faggian, Matteo Lanzi, Zohar Babin, Peter Elst, Francesca Beordo, Federico Pitone, Tiziano Fruet, Gianluigi Fragomeni, Giorgio Pedergnani, Andrea Sgaravato, Marco Casario, Fabio Bernardi, Andrea Brauzzi, Sumi Lim, Jonathan Air, Mihai Corlan, Serge Jespers, Renaun Erickson, Christie Fidura, Piotr Walczyszyn, Michael Chaize, and many many others.

A special thanks also to the Inside a Bit and Sparkol teams, places where you can learn something every day.

Last but not least, I'd like to say thanks to my girlfriend and my life partner, Maela, for the amazing time we spend together. Her passion and commitment in our relationship give me the strength to go ahead and do my best every day. Thanks, my love!

Daniel Nadeau is currently an independent Android developer and C programmer with five years of programming experience under his belt. He is also currently a student in his second year of electrical engineering studies at Queen's University in Canada.

He has worked for a wide variety of companies, sometimes on a volunteer basis. Some of those companies include elementary OS, OHSO Media (with OMG! Ubuntu!), Naquatic LLC, and NowPhit. More recently, he has also begun applying his programming skills to microcontrollers by joining the Queen's Space Engineering Team.

www.PacktPub.com
Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at > for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Learning Android Canvas»

Look at similar books to Learning Android Canvas. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Learning Android Canvas»

Discussion, reviews of the book Learning Android Canvas and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.