Description
The professional programmer's Deitel® guide to Android smartphone and tablet app development and the Eclipse IDE with the Android Development Tools (ADT) plug-inBillions of apps have been downloaded from Android Market! This book gives you everything you'll need to start developing great Android apps quickly and getting them published on Android Market. The book uses an app-driven approach - each new technology is discussed in the context of 16 fully tested Android apps, complete with syntax coloring, code walkthroughs and sample outputs. Apps you'll develop include:
* SpotOn Game
* Slideshow
* Flag Quiz
* Route Tracker
* Favorite Twitter® Searches
* Address Book
* Tip Calculator
* Doodlz
* Weather Viewer
* Cannon Game
* Voice Recorder
* Pizza Ordering
Practical, example-rich coverage of:
* Smartphone and Tablet Apps, Android Development Tools (ADT) Plug-In for Eclipse
* Activities, Intents, Content Providers
* GUI Components, Menus, Toasts, Resource Files, Touch and Gesture Processing
* Tablet Apps, ActionBar and AppWidgets
* Tweened Animations, Property Animations
* Camera, Audio, Video, Graphics, OpenGL ES
* Gallery and Media Library Access
* SharedPreferences, Serialization, SQLite
* Handlers and Multithreading, Games
* Google Maps, GPS, Location Services, Sensors
* Internet-Enabled Apps, Web Services, Telephony, Bluetooth®
* Speech Synthesis and Recognition
* Android Market, Pricing, Monetization
* And more
PLUS: Register your product at www.informit.com/register for additional online chapters that cover Android Ice Cream Sandwich (Android 4), including a complete, working Ice Cream Sandwich app!
VISIT WWW.DEITEL.COM
* For information on Deitel's Dive Into® Series instructor-led programming language training courses offered at customer sites worldwide visit www.deitel.com/training or write to deitel@deitel.com
* Download code examples
* Check out the growing list of programming Resource Centers
* Join the Deitel Twitter (@deitel) and Facebook ( www.facebook.com/DeitelFan ) communities
* To receive updates for this book, subscribe to the free Deitel ® Buzz Online e-mail newsletter at www.deitel.com/newsletter/subscribe.html
CONTENTS:
1.1 Introduction 2
2.1 Introduction 36
Dive-Into® Eclipse and the ADT Plugin
3.1 Introduction 69
Building an Android App with Java
4.1 Introduction 92
SharedPreferences, Buttons, Nested Layouts, Intents, AlertDialogs, Inflating XML Layouts and the Manifest File
5.1 Introduction 118
Assets, AssetManager, Tweened Animations, Handler, Menus and Logging Error Messages
6.1 Introduction 147
Listening for Touches and Gestures, Manual Frame-By-Frame Animation, Graphics, Sound, Threading, SurfaceView and SurfaceHolder
7.1 Introduction 177
Property Animation, ViewPropertyAnimator, AnimatorListener, Thread-Safe Collections, Default SharedPreferences for an Activity
8.1 Introduction 205
Two-Dimensional Graphics, SensorManager, Multitouch Events and Toasts
9.1 Introduction 226
Chapter 10: Address Book App 258
10.1 Introduction 259
Google Maps API, GPS, LocationManager, MapActivity, MapView and Overlay
11.1 Introduction 292
Gallery and Media Library Access, Built-In Content Providers, MediaPlayer, Image Transitions, Custom ListActivity Layouts and the View-Holder Pattern
Serializing Data, Taking Pictures with the Camera and Playing Video in a VideoView
13.1 Introduction 361
Web Services, JSON, Fragment, ListFragment, DialogFragment, ActionBar, Tabbed Navigation, App Widgets, Broadcast Intents and BroadcastReceivers
14.1 Introduction 391
Index 460
See the Online Chapters section of the Preface for information on downloading these chapters.
Text-to-Speech, Speech-to-Text and Telephony
Audio Recording and Playback
Bluetooth
OpenGL ES 3D Rendering
Bonus Chapter: HTML5, CSS3 and JavaScript for Experienced Web Developers
Published
30 Nov 2011
Publisher
PRENTICE-HALL
ISBN
9780132121361
Pages
481




Static Book Details Index Page - Click Here to go to Computer Manuals Website