The Busy Coder's Guide to Android Development - Free Download Android Tutorial



The Busy Coder's Guide to Android Development
by Mark L. Murphy
Copyright © 2008 CommonsWare, LLC. All Rights Reserved.
Printed in the United States of America.
CommonsWare books may be purchased in printed (bulk) or digital form for educational or
business use. For more information, contact direct@commonsware.com.
Printing History:
Aug 2008: Version 1.1 ISBN: 978-0-9816780-0-9
The CommonsWare name and logo, “Busy Coder's Guide”, and related trade dress are
trademarks of CommonsWare, LLC.
All other trademarks referenced in this book are trademarks of their respective firms.
The publisher and author(s) assume no responsibility for errors or omissions or for damages
resulting from the use of the information contained herein.


Welcome to the Book!
Thanks!

Thanks for your interest in developing applications for Android!
Increasingly, people will access Internet-based services using so-called
"non-traditional" means, such as mobile devices. The more we do in that
space now, the more that people will help invest in that space to make it
easier to build more powerful mobile applications in the future. Android is
new – at the time of this writing, there are no shipping Android-powered
devices – but it likely will rapidly grow in importance due to the size and
scope of the Open Handset Alliance.
And, most of all, thanks for your interest in this book! I sincerely hope you
find it useful and at least occasionally entertaining.
Prerequisites
If you are interested in programming for Android, you will need at least
basic understanding of how to program in Java. Android programming is
done using Java syntax, plus a class library that resembles a subset of the
Java SE library (plus Android-specific extensions). If you have not
programmed in Java before, you probably should quick learn how that
works before attempting to dive into programming for Android.
The book does not cover in any detail how to download or install the
Android development tools, either the Eclipse IDE flavor or the standalone
flavor. The Android Web site covers this quite nicely. The material in the
book should be relevant whether you use the IDE or not. You should
download, install, and test out the Android development tools from the
Android Web site before trying any of the examples listed in this book.
Some chapters may reference material in previous chapters, though usually
with a link back to the preceding section of relevance.
Warescription
This book will be published both in print and in digital (ebook) form. The
ebook versions of all CommonsWare titles are available via an annual
subscription – the Warescription.
The Warescription entitles you, for the duration of your subscription, to
ebook forms of all CommonsWare titles, not just the one you are reading.
Presently, CommonsWare offers PDF and Kindle; other ebook formats will
be added based on interest and the openness of the format.
Each subscriber gets personalized editions of all editions of each title: both
those mirroring printed editions and in-between updates that are only
available in ebook form. That way, your ebooks are never out of date for
long, and you can take advantage of new material as it is made available
instead of having to wait for a whole new print edition. For example, when
new releases of the Android SDK are made available, this book will be
quickly updated to be accurate with changes in the APIs.
From time to time, subscribers will also receive access to subscriber-only
online material, both short articles and not-yet-published new titles.
Also, if you own a print copy of a CommonsWare book, and it is in good
clean condition with no marks or stickers, you can exchange that copy for a
discount off the Warescription price.
If you are interested in a Warescription, visit the Warescription section of
the CommonsWare Web site.
xvi
This document is licensed for Cheng Po-wen's exclusive use by CommonsWare, LLC
Book Bug Bounty
Find a problem in one of our books? Let us know!
Be the first to report a unique concrete problem, and we'll give you a coupon
for a six-month Warescription as a bounty for helping us deliver a better
product. You can use that coupon to get a new Warescription, renew an
existing Warescription, or give the coupon to a friend, colleague, or some
random person you meet on the subway.
By "concrete" problem, we mean things like:
• Typographical errors
• Sample applications that do not work as advertised, in the
environment described in the book
• Factual errors that cannot be open to interpretation
By "unique", we mean ones not yet reported. Each book has an errata page
on the CommonsWare Web site; most known problems will be listed there.
We appreciate hearing about "softer" issues as well, such as:
• Places where you think we are in error, but where we feel our
interpretation is reasonable
• Places where you think we could add sample applications, or expand
upon the existing material
• Samples that do not work due to "shifting sands" of the underlying
environment (e.g., changed APIs with new releases of an SDK)
However, those "softer" issues do not qualify for the formal bounty program.
Questions about the bug bounty, or problems you wish to report for bounty
consideration, should be sent to bounty@commonsware.com.
Source Code License
The source code samples shown in this book are available for download
from the CommonsWare Web site. All of the Android projects are licensed
under the Apache 2.0 License, in case you have the desire to reuse any of it.
Creative Commons and the Four-to-Free
(42F) Guarantee
Each CommonsWare book edition will be available for use under the
Creative Commons Attribution-Noncommercial-Share Alike 3.0 license as of
the fourth anniversary of its publication date, or when 4,000 copies of the
edition have been sold, whichever comes first. That means that, once four
years have elapsed (perhaps sooner!), you can use this prose for noncommercial
purposes. That is our Four-to-Free Guarantee to our readers and
the broader community. For the purposes of this guarantee, new
Warescriptions and renewals will be counted as sales of this edition, starting
from the time the edition is published.
This edition of this book will be available under the aforementioned
Creative Commons license on July 1, 2012. Of course, watch the
CommonsWare Web site, as this edition might be relicensed sooner based
on sales.
For more details on the Creative Commons Attribution-Noncommercial-
Share Alike 3.0 license, visit the Creative Commons Web site.
Note that future editions of this book will become free on later dates, each
four years from the publication of that edition or based on sales of that
specific edition. Releasing one edition under the Creative Commons license
does not automatically release all editions under that license.



Post a Comment Blogger

 
Top