[ Pobierz całość w formacie PDF ]
//-->Head FirstAndroid DevelopmentWouldn’t it be dreamy ifthere was a book on Androiddevelopment that could turn meinto an expert while keeping meengaged and entertained? But it’sprobably just a fantasy...Jonathan SimonBeijing • Cambridge • Farnham • Kln • Sebastopol • Taipei • Tokyowww.it-ebooks.infoHead First Android Developmentby Jonathan SimonCopyright © 2011 Jonathan Simon. All rights reserved.Printed in the United States of America.Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.O’Reilly Media books may be purchased for educational, business, or sales promotional use. Online editions arealso available for most titles (safari.oreilly.com). For more information, contact our corporate/institutional salesdepartment: (800) 998-9938 orcorporate@oreilly.com.Series Creators:Editor:Cover Designers:Production Editor:Indexer:Proofreader:Page Viewers:Printing History:October 2011: First Edition.Kathy Sierra, Bert BatesBrian SawyerKaren MontgomeryTKTKTKFelisaFelisaThe O’Reilly logo is a registered trademark of O’Reilly Media, Inc. TheHead Firstseries designations,Head First Android Developmentand related trade dress are trademarks of O’Reilly Media, Inc.Many of the designations used by manufacturers and sellers to distinguish their products are claimed astrademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trademarkclaim, the designations have been printed in caps or initial caps.While every precaution has been taken in the preparation of this book, the publisher and the authors assume noresponsibility for errors or omissions, or for damages resulting from the use of the information contained herein.ISBN: 978-1-449-39330-4[M]www.it-ebooks.infodedicationThis book is dedicated to our dog...Our super-cutedog, Ella, thatsadly passed away.We love you!!Ella Simon2002 - 2011I missyou Ella!Ella’s sister,Billieyou are here4iiiwww.it-ebooks.infotheauthorAuthor of He ad First Android DevelopmentJonathan SimonBefore the modern smartphone era,Jonathan Simonwas coding away at thecool phones of the day, writing low level UIframeworks and debugging tiny screens (backwhen 176x220 was huge!) with a magnifyingglass. Since then, he’s worked with all kindsof phones, even the new ones with big fancyschmancy screens.Before working with mobile devices, Jonathanspent a good six years working on Wall Streetdesigning and building user interfaces fortrading systems. And no, it’s not his fault thestock market tanked, honest! He also can’t giveyou any stock tips. (Sorry!)When he’s not coding or designing, he’sprobably hanging out with his wife, Felisa,or their dog, Billie. Otherwise, he’s probablyriding (or building) a bike or perfecting hisespresso extraction.One of Jonathan’s espressoshots. It took MANY ofthese to write this book.ivwww.it-ebooks.infotableofcontentsTable of Contents (Summary)Intro123456789101112iYour first app:Meet AndroidGive your app an action:Adding behaviorPictures from space:Work with feedsWhen things take time:Long-running processesRun your app everywhere:Multiple-device supportTablets are not just big phones:Optimizing for tabletsBuilding a list-based app:Lists and adaptersNavigation in Android:Multi-screen appsDatabase persistence:Store your stuff with SQLiteRelativeLayout:It’s all relativeGive your app some polish:Tweaking your UIMake the most of what you can use:Content proficersLeftovers: TheTop Ten Things (We Didn’t Cover)167205265313345393xi14179123Table of Contents (the real thing)Your First AppSo you’re thinking: “What makes Android so special?”Android is afree and open operating systemfromGooglethat runs on all kindsof devices fromphones,totabletsand eventelevisions.That’s a ton of differentdevices you can target withjust one platform!(And the market share is gainingtoo!) Google provides all of the stuff you need to get started building Android appsfor free.You can build your Android apps on Macs, Windows, or Unix and publishyour apps for next to nothing (with no need for anyone’s approval). Ready to getstarted? Great! You’re going to start building your first Android app, but first thereare a few things to set up...vwww.it-ebooks.info [ Pobierz całość w formacie PDF ]
zanotowane.pl doc.pisz.pl pdf.pisz.pl audipoznan.keep.pl
//-->Head FirstAndroid DevelopmentWouldn’t it be dreamy ifthere was a book on Androiddevelopment that could turn meinto an expert while keeping meengaged and entertained? But it’sprobably just a fantasy...Jonathan SimonBeijing • Cambridge • Farnham • Kln • Sebastopol • Taipei • Tokyowww.it-ebooks.infoHead First Android Developmentby Jonathan SimonCopyright © 2011 Jonathan Simon. All rights reserved.Printed in the United States of America.Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.O’Reilly Media books may be purchased for educational, business, or sales promotional use. Online editions arealso available for most titles (safari.oreilly.com). For more information, contact our corporate/institutional salesdepartment: (800) 998-9938 orcorporate@oreilly.com.Series Creators:Editor:Cover Designers:Production Editor:Indexer:Proofreader:Page Viewers:Printing History:October 2011: First Edition.Kathy Sierra, Bert BatesBrian SawyerKaren MontgomeryTKTKTKFelisaFelisaThe O’Reilly logo is a registered trademark of O’Reilly Media, Inc. TheHead Firstseries designations,Head First Android Developmentand related trade dress are trademarks of O’Reilly Media, Inc.Many of the designations used by manufacturers and sellers to distinguish their products are claimed astrademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trademarkclaim, the designations have been printed in caps or initial caps.While every precaution has been taken in the preparation of this book, the publisher and the authors assume noresponsibility for errors or omissions, or for damages resulting from the use of the information contained herein.ISBN: 978-1-449-39330-4[M]www.it-ebooks.infodedicationThis book is dedicated to our dog...Our super-cutedog, Ella, thatsadly passed away.We love you!!Ella Simon2002 - 2011I missyou Ella!Ella’s sister,Billieyou are here4iiiwww.it-ebooks.infotheauthorAuthor of He ad First Android DevelopmentJonathan SimonBefore the modern smartphone era,Jonathan Simonwas coding away at thecool phones of the day, writing low level UIframeworks and debugging tiny screens (backwhen 176x220 was huge!) with a magnifyingglass. Since then, he’s worked with all kindsof phones, even the new ones with big fancyschmancy screens.Before working with mobile devices, Jonathanspent a good six years working on Wall Streetdesigning and building user interfaces fortrading systems. And no, it’s not his fault thestock market tanked, honest! He also can’t giveyou any stock tips. (Sorry!)When he’s not coding or designing, he’sprobably hanging out with his wife, Felisa,or their dog, Billie. Otherwise, he’s probablyriding (or building) a bike or perfecting hisespresso extraction.One of Jonathan’s espressoshots. It took MANY ofthese to write this book.ivwww.it-ebooks.infotableofcontentsTable of Contents (Summary)Intro123456789101112iYour first app:Meet AndroidGive your app an action:Adding behaviorPictures from space:Work with feedsWhen things take time:Long-running processesRun your app everywhere:Multiple-device supportTablets are not just big phones:Optimizing for tabletsBuilding a list-based app:Lists and adaptersNavigation in Android:Multi-screen appsDatabase persistence:Store your stuff with SQLiteRelativeLayout:It’s all relativeGive your app some polish:Tweaking your UIMake the most of what you can use:Content proficersLeftovers: TheTop Ten Things (We Didn’t Cover)167205265313345393xi14179123Table of Contents (the real thing)Your First AppSo you’re thinking: “What makes Android so special?”Android is afree and open operating systemfromGooglethat runs on all kindsof devices fromphones,totabletsand eventelevisions.That’s a ton of differentdevices you can target withjust one platform!(And the market share is gainingtoo!) Google provides all of the stuff you need to get started building Android appsfor free.You can build your Android apps on Macs, Windows, or Unix and publishyour apps for next to nothing (with no need for anyone’s approval). Ready to getstarted? Great! You’re going to start building your first Android app, but first thereare a few things to set up...vwww.it-ebooks.info [ Pobierz całość w formacie PDF ]