The busy coder's guide to Android development

dc.contributor.authorMurphy, Mark L.es
dc.date.accessioned2012-01-24T17:00:48Z
dc.date.available2012-01-24T17:00:48Z
dc.date.issued2008-07
dc.description380 p. ; il. , Indice.es
dc.descriptionLibro Electrónicoes
dc.description.abstractIf 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.es
dc.description.tableofcontentsWelcome to the Warescription!xiii Prefacexv Welcome to the Book!xv Prerequisitesxv Warescriptionxvi Book Bug Bountyxvii Source Code Licensexviii Creative Commons and the Four-to-Free (42F) Guaranteexviii The Big Picture1 What Androids Are Made Of3 Activities3 Content Providers4 Intents4 Services4 Stuff At Your Disposal5 Storage5 Network5 Multimedia5 GPS5 Phone Services6 Project Structure7 Root Contents7 The Sweat Off Your Brow8 iii Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition And Now, The Rest of the Story8 What You Get Out Of It9 Inside the Manifest11 In The Beginning, There Was the Root, And It Was Good11 Permissions, Instrumentations, and Applications (Oh, My!)12 Your Application Does Something, Right?13 Creating a Skeleton Application17 Begin at the Beginning17 The Activity18 Dissecting the Activity19 Building and Running the Activity21 Using XML-Based Layouts23 What Is an XML-Based Layout?23 Why Use XML-Based Layouts?24 OK, So What Does It Look Like?25 What's With the @ Signs?26 And We Attach These to the JavaHow?26 The Rest of the Story27 Employing Basic Widgets29 Assigning Labels29 Button, Button, Who's Got the Button?30 Fleeting Images31 Fields of Green Or Other Colors31 Just Another Box to Check34 Turn the Radio Up37 It's Quite a View39 Useful Properties39 Useful Methods39 Working with Containers41 Thinking Linearly42 Concepts and Properties42 Example45 All Things Are Relative50 iv Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Concepts and Properties50 Example53 Tabula Rasa56 Concepts and Properties56 Example59 Scrollwork60 Using Selection Widgets65 Adapting to the Circumstances65 Using ArrayAdapter66 Other Key Adapters67 Lists of Naughty and Nice68 Spin Control70 Grid Your Lions (Or Something Like That)74 Fields: Now With 35% Less Typing!78 Galleries, Give Or Take The Art82 Employing Fancy Widgets and Containers83 Pick and Choose83 Time Keeps Flowing Like a River88 Making Progress89 Putting It On My Tab90 The Pieces91 The Idiosyncrasies91 Wiring It Together93 Other Containers of Note96 Applying Menus97 Flavors of Menu97 Menus of Options98 Menus in Context100 Taking a Peek102 Embedding the WebKit Browser107 A Browser, Writ Small107 Loading It Up109 Navigating the Waters111 v Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Entertaining the Client111 Settings, Preferences, and Options (Oh, My!)114 Showing Pop-Up Messages117 Raising Toasts117 Alert! Alert!118 Checking Them Out119 Dealing with Threads123 Getting Through the Handlers123 Messages124 Runnables127 Running In Place127 Utilities (And I Don't Mean Water Works)128 And Now, The Caveats128 Handling Activity Lifecycle Events131 Schroedinger's Activity131 Life, Death, and Your Activity132 onCreate() and onCompleteThaw()132 onStart(), onRestart(), and onResume()133 onPause(), onFreeze(), onStop(), and onDestroy()134 Using Preferences137 Getting What You Want137 Stating Your Preference138 A Preference For Action138 Accessing Files143 You And The Horse You Rode In On143 Readin' 'n Writin'147 Working with Resources151 The Resource Lineup151 String Theory152 Plain Strings152 String Formats153 Styled Text153 Styled Formats154 vi Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Got the Picture?158 XML: The Resource Way160 Miscellaneous Values163 Dimensions163 Colors164 Arrays165 Different Strokes for Different Folks166 Managing and Accessing Local Databases171 A Quick SQLite Primer172 Start at the Beginning173 Setting the Table174 Makin' Data174 What Goes Around, Comes Around176 Raw Queries176 Regular Queries177 Building with Builders177 Using Cursors179 Change for the Sake of Change179 Making Your Own Cursors180 Data, Data, Everywhere180 Leveraging Java Libraries183 The Outer Limits183 Ants and Jars184 Communicating via the Internet187 REST and Relaxation187 HTTP Operations via Apache Commons188 Parsing Responses190 Stuff To Consider192 Email over Java193 Creating Intent Filters199 What's Your Intent?200 Pieces of Intents200 Stock Options201 vii Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Intent Routing202 Stating Your Intent(ions)203 Narrow Receivers205 Launching Activities and Sub-Activities207 Peers and Subs208 Start 'Em Up208 Make an Intent209 Make the Call209 Finding Available Actions via Introspection215 Pick 'Em216 Adaptable Adapters220 Would You Like to See the Menu?223 Asking Around225 Using a Content Provider229 Pieces of Me229 Getting a Handle230 Makin' Queries231 Adapting to the Circumstances233 Doing It By Hand235 Position235 Getting Properties236 Setting Properties237 Give and Take238 Beware of the BLOB!239 Building a Content Provider241 First, Some Dissection241 Next, Some Typing242 Step #1: Create a Provider Class243 ContentProvider243 DatabaseContentProvider252 Step #2: Supply a Uri252 Step #3: Declare the Properties252 Step #4: Update the Manifest253 viii Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Notify-On-Change Support254 Requesting and Requiring Permissions257 Mother, May I?258 Halt! Who Goes There?259 Enforcing Permissions via the Manifest260 Enforcing Permissions Elsewhere261 May I See Your Documents?262 Creating a Service263 Getting Buzzed264 Service with Class264 When IPC Attacks!266 Write the AIDL267 Implement the Interface268 Manifest Destiny270 Where's the Remote?271 Invoking a Service273 Bound for Success274 Request for Service276 Prometheus Unbound276 Manual Transmission276 Alerting Users Via Notifications279 Types of Pestering279 Hardware Notifications280 Icons281 Letting Your Presence Be Felt281 Accessing Location-Based Services287 Location Providers: They Know Where You're Hiding288 Finding Yourself288 On the Move292 Are We There Yet? Are We There Yet? Are We There Yet?292 TestingTesting296 Mapping with MapView and MapActivity299 The Bare Bones299 ix Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Exercising Your Control301 Zoom301 Center302 Reticle303 Traffic and Terrain303 Follow You, Follow Me305 Layers Upon Layers307 Overlay Classes308 Drawing the Overlay308 Handling Screen Taps310 Playing Media313 Get Your Media On314 Making Noise315 Moving Pictures321 Handling Telephone Calls325 No, No, No – Not That IPhone326 What's Our Status?326 You Make the Call!326 Searching with SearchManager333 Hunting Season333 Search Yourself335 Craft the Search Activity336 Update the Manifest340 Try It Out342 The TourIt Sample Application347 Installing TourIt347 Demo Location Provider347 SD Card Image with Sample Tour348 Running TourIt349 Main Activity350 Configuration Activity352 Cue Sheet Activity354 Map Activity355 x Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Tour Update Activity357 Help Activity358 TourIt's Manifest359 TourIt's Content360 Data Storage361 Content Provider361 Model Classes361 TourIt's Activities362 TourListActivity362 TourViewActivity363 TourMapActivity367 TourEditActivity367 HelpActivity367 ConfigActivity368es
dc.format.mimetypeapplication/pdfes
dc.identifier.isbn978-0-9816780-0-9
dc.identifier.urihttp://libros.metabiblioteca.org/handle/001/414
dc.language.isoenges
dc.publisherUnited States : CommonsWare, 2008.es
dc.rightsSpecial Creative Commons BY-NC-SA 3.0 License Editiones
dc.rights.accessrightsopenAccesses
dc.rights.urihttp://creativecommons.org/licenses/by-nc-sa/3.0/es
dc.sourcehttp://commonsware.com/Android/Android-1_0-CC.pdfes
dc.subjectAndroides
dc.subjectXMLes
dc.subjectAplicaciones Androides
dc.subjectBases de Datoses
dc.subjectComputer programming -- Handbooks, manuals, etces
dc.subjectOpen source software -- Handbooks, manuals, etces
dc.subjectComputer software -- Handbooks, manuals, etces
dc.subjectProgrammation -- Guides, manuels, etces
dc.subjectDispositivos Móvileses
dc.subjectMobile Deviceses
dc.titleThe busy coder's guide to Android developmentes
dc.typeBookes
Files
Original bundle
Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
978-0-9816780-0-9.pdf
Size:
3.75 MB
Format:
Adobe Portable Document Format
Description:
Archivo PDF
Loading...
Thumbnail Image
Name:
978-0-9816780-0-9.jpg
Size:
28.63 KB
Format:
Joint Photographic Experts Group/JPEG File Interchange Format (JFIF)
Description:
License bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
487 B
Format:
Item-specific license agreed upon to submission
Description: