Android Programming Tutorials - M.L. Murphy.pdf
(
11198 KB
)
Pobierz
Android Programming Tutorials Version 3.2
Android Programming Tutorials
by M ark L. M urphy
Download from Wow! eBook <www.wowebook.com>
Android Programming T utorials
by Mark L. M urphy
Copyright © 2009-2011 CommonsW are, LLC. All Rights Reserved.
Printed in the United States of America.
CommonsW are books may be purchased in printed (bulk) or digital form for educational or
business use. F or more information, contact
direct@commonsware.com
.
Printing History:
Mar 2011:V ersion 3.2 ISBN: 978-0-9816780-4-7
The CommonsW are name and logo, “Busy Coder's Guide”,and related trade dress are
trademarks of CommonsW are, 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.
Download from Wow! eBook <www.wowebook.com>
able of Contents
Welcome to the Warescription!. ........................................................xiii
Preface..................................................................................................xv
Welcome to the Book!
.
...............................................................................xv
Prerequisites
.
...............................................................................................xv
Using the Tutorials
.
...................................................................................xvi
Warescription
.
.........................................................................................xviii
What's New
.
.............................................................................................xviii
About the "Further Reading" Sections
.
....................................................xix
Errata and Book Bug Bounty
.
...................................................................xix
Source Code License
.
..................................................................................xx
Creative Commons and the Four-to-Free (42F) Guarantee
.
..................xxi
Lifecycle of a CommonsWare Book
.
........................................................xxi
Roster of Tutorials
.
...................................................................................xxii
Your First Android Project. ....................................................................1
Step #1: Create the New Project
.
..................................................................1
Step #1: Eclipse
.
......................................................................................2
Step #2: Command Line
.
.......................................................................5
Step #2: Build, Install, and Run the Application in Your Emulator or
Device
.
...........................................................................................................6
iii
Download from Wow! eBook <www.wowebook.com>
Step #1: Eclipse
.
......................................................................................6
Step #2: Command Line
.
.......................................................................7
A Simple Form. ......................................................................................11
Step-By-Step Instructions
.
..........................................................................11
Step #1: Generate the Application Skeleton
.
.......................................11
Step #2: Modify the Layout
.
.................................................................12
Step #3: Support All Screen Sizes
........................................................14
Step #4: Compile and Install the Application
.
....................................15
Step #5: Run the Application in the Emulator
.
..................................15
Step #6: Create a Model Class
.
............................................................16
Step #7: Save the Form to the Model
.
.................................................16
Extra Credit
.
.................................................................................................18
Further Reading
.
.........................................................................................18
A Fancier Form......................................................................................19
Step-By-Step Instructions
.
..........................................................................19
Step #1: Switch to a TableLayout
.
........................................................19
Step #2: Add a RadioGroup
.
.................................................................21
Step #3: Update the Model
.
.................................................................23
Step #4: Save the Type to the Model
.
.................................................24
Extra Credit
.
................................................................................................26
Further Reading
.
.........................................................................................27
Adding a List.........................................................................................29
Step-By-Step Instructions
.
.........................................................................29
Step #1: Hold a List of Restaurants
.
....................................................29
Step #2: Save Adds to List
.
...................................................................30
Step #3: Implement toString()
.
............................................................31
Step #4: Add a ListView Widget
.
.........................................................31
iv
Download from Wow! eBook <www.wowebook.com>
Plik z chomika:
Azunai
Inne pliki z tego folderu:
Android Application Development Cookbook (2nd Edition) - R. Boyer, K. Mew.pdf
(32409 KB)
GUI Design for Android Apps.pdf
(6015 KB)
Android for Work. Productivity for Professionals - M. Karch.pdf
(14304 KB)
Beginning Android C++ Game Development.pdf
(4803 KB)
Beginning Android C++ Game Development.epub
(1548 KB)
Inne foldery tego chomika:
2dartist
3D Artist
3D World
3dcreative
3ds Max
Zgłoś jeśli
naruszono regulamin