What is included with this book?
Billions of apps have been downloaded from Google Play™! This book gives you everything you’ll need to start developing great Android apps quickly and getting them published on Google Play™. The book uses an app-driven approach–each new technology is discussed in the context of seven fully tested Android apps, complete with syntax coloring, code highlighting, code walkthroughs and sample outputs. Apps you’ll develop include:
This book presents leading-edge computing technologies for professional software developers. At the heart of the book is the Deitel “app-driven approach”–concepts are presented in the context of complete working Android apps, rather than using code snippets. The introduction and app test drives at the beginning of each chapter show one or more sample executions. The book’s source code is available at www.deitel.com/books/androidfp2.
The apps in this book were carefully designed to introduce you to key Android features and APIs. You’ll quickly learn everything you need to start building Android apps–beginning with a testdrive of the Doodlz app in Chapter 1, then building your first app in Chapter 2. By the time you reach Chapter 9, you’ll be ready to create your own apps for submission to Google Play and other app marketplaces. You’ll master the Google Play submission process, including uploading your apps, deciding whether to sell your apps or offer them for free, and marketing them using in-app advertising, social media, Internet public relations and more.
Practical, example-rich coverage of:
Before You Begin
Chapter 1: Introduction to Android
Chapter 2: Google Play and App Business Issues
Chapter 3: Welcome App: Dive-Into® Eclipse and the ADT Plugin
Chapter 4: Tip Calculator App: Building an Android App with Java
Chapter 5: Favorite Twitter® Searches App: SharedPreferences, Buttons, Intents, AlertDialogs, Inflating XML Layouts
Chapter 6: Flag Quiz Game App: Assets, AssetManager, Tweened Animations, Handler, Menus, Logging Error Messages and PreferencesActivity
Chapter 7: Cannon Game App: Listening for Touches and Gestures, Manual Frame-By-Frame Animation, Graphics, Sound, Threading, SurfaceView and SurfaceHolder
Chapter 8: SpotOn Game App: Property Animation, ViewPropertyAnimator, AnimatorListener, Thread-Safe Collections, Default SharedPreferences for an Activity
Chapter 9: Doodlz App: Two-Dimensional Graphics, SensorManager, Multitouch Events and Toasts
Chapter 10: Address Book App: ListActivity, AdapterViews, Adapters, Multiple Activities, SQLite, GUI Styles, Menu Resources and MenuInflater
Chapter 11: Route Tracker App: Google Maps API, GPS, LocationManager, MapActivity, MapView and Overlay
Chapter 12: Slideshow App: Gallery and Media Library Access, Built-In Content Providers, MediaPlayer, Image Transitions, Custom ListActivity Layouts and the View-Holder Pattern