Android 6 for Programmers An App-Driven Approach

by ; ;
  • ISBN13:


  • ISBN10:


  • Edition: 3rd
  • Format: Paperback
  • Copyright: 12/4/2015
  • Publisher: Prentice Hall

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $59!
    Your order must be $59 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
  • We Buy This Book Back!
    In-Store Credit: $8.40
    Check/Direct Deposit: $8.00
List Price: $44.99 Save up to $15.75
  • Rent Book $29.24
    Add to Cart Free Shipping


Supplemental Materials

What is included with this book?

  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
  • The Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.


The professional programmer’s Deitel® guide to smartphone and tablet app development using Android™ 6 and Android Studio Billions of apps have been downloaded from Google Play™! This book gives you everything you need to start developing great 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 eight fully coded and tested Android apps, complete with syntax shading, code highlighting, code walkthroughs and sample outputs. Apps you’ll develop include:
  • Welcome App
  • Cannon Game
  • Tip Calculator
  • Weather Viewer
  • Flag Quiz
  • Twitter® Searches
  • Doodlz
  • Address Book

Practical, Example-Rich Coverage of:

  • Android 6, Android Studio: Gradle™, Vector Asset Studio, Theme Editor
  • Material Design App Templates and Themes
  • AppCompat Library, Android Design Support Library, RecyclerView, FloatingActionButton, TextInputLayout
  • Material Design Elevation and Icons
  • REST Web Services/JSON, Threading, SQLite™ Database, Android 6 Permissions
  • Cursors, Loaders, ContentProviders
  • Supporting Various Screen Sizes/Resolutions
  • Accessibility, Internationalization
  • Activities, Fragments, Intents, Preferences
  • GUIs, Layouts, Menus, Resource Files, Events, Touch/Gesture Processing, Images, Audio, Graphics, Animation
  • Immersive Mode, PrintHelper
  • Google Play™ Store, App Publishing, Pricing, Marketing, In-App Advertising, In-App Billing, Virtual Goods and more



Visit www.deitel.com

  • Download code examples
  • For info on Deitel’s Dive Into® Series programming training courses, visit www.deitel.com/training or write to deitel@deitel.com
  • Follow the Deitels on Facebook® at facebook.com/DeitelFan, Twitter® at @deitel, Google+™ at google.com/+DeitelFan, LinkedIn® at bit.ly/DeitelLinkedIn, YouTube™ at youtube.com/DeitelTV
  • Subscribe to the Deitel ® Buzz e-mail newsletter at www.deitel.com/newsletter/ subscribe.html


About This Book

The first-generation Android phones were released in October 2008. As of June 2015, Android had 82.8% of the global smartphone market share, compared to 13.9% for Apple and 2.6% for Microsoft (http:// www.idc.com/prodserv/smartphone-os-market-share.jsp). Billions of apps have been downloaded from Google Play and more than one billion Android devices were shipped worldwide in 2014 (http://www.cnet.com/news/android-shipments-exceed- 1-billion-for-first-time-in-2014/). The opportunities for Android app developers are enormous.


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 http://www.deitel.com/books/AndroidFP3.


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 test-drive of the Tip Calculator app in Chapter 1, then building one new app in each of Chapters 2 through 9. By the time you reach Chapter 10, 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. You’ll decide whether to sell your apps or offer them for free, and learn how to market them via social media and monetize them with in-app advertising, in-app billing, virtual goods and more.


Author Biography

Paul Deitel, CEO and Chief Technical Officer of Deitel & Associates, Inc., is a graduate

of MIT, where he studied Information Technology. Through Deitel & Associates, Inc.,

he has delivered hundreds of programming courses worldwide to clients, including Cisco,

IBM, Siemens, Sun Microsystems, Dell, Fidelity, NASA at the Kennedy Space Center, the

National Severe Storm Laboratory, White Sands Missile Range, Rogue Wave Software,

Boeing, SunGard Higher Education, Nortel Networks, Puma, iRobot, Invensys and many

more. He and his co-author, Dr. Harvey M. Deitel, are the world’s best-selling programming-

language textbook/professional book/video authors.

Dr. Harvey Deitel, Chairman and Chief Strategy Officer of Deitel & Associates, Inc.,

has over 50 years of experience in the computer field. Dr. Deitel earned B.S. and M.S.

degrees in Electrical Engineering from MIT and a Ph.D. in Mathematics from Boston

University. He has extensive college teaching experience, including earning tenure and

serving as the Chairman of the Computer Science Department at Boston College before

founding Deitel & Associates, Inc., in 1991 with his son, Paul. The Deitels’ publications

have earned international recognition, with translations published in Japanese, German,

Russian, Spanish, French, Polish, Italian, Simplified Chinese, Traditional Chinese,

Korean, Portuguese, Greek, Urdu and Turkish. Dr. Deitel has delivered hundreds of programming

courses to corporate, academic, government and military clients.

Table of Contents


Before You Begin

Chapter 1–Introduction to Android App Development

Chapter 2–Welcome App

Dive-Into® Android Studio: Introducing Visual GUI Design, Layouts, Accessibility

and Internationalization

Chapter 3–Tip Calculator App

Introducing GridLayout, LinearLayout, EditText, SeekBar, Event Handling,

NumberFormat and Defining App Functionality with Java

Chapter 4–Twitter® Searches App

SharedPreferences, Collections, ImageButton, ListView, ListActivity, ArrayAdapter,

Implicit Intents and AlertDialogs

Chapter 5–Flag Quiz Game App

Fragments, Menus, Preferences, AssetManager, Tweened Animations, Handler,

Toasts, Explicit Intents, Layouts for Multiple Device Orientations

Chapter 6–Cannon Game App

Listening for Touches, Manual Frame-By-Frame Animation, Graphics, Sound,

Threading, SurfaceView and SurfaceHolder

Chapter 7–Doodlz App

Two-Dimensional Graphics, SensorManager, Multitouch Events

Chapter 8–Address Book App

ListActivity, AdapterViews, Adapters, Multiple Activities, SQLite, GUI

Styles, Menu Resources and MenuInflater

Chapter 9–Google Play and App Business Issues

Rewards Program

Write a Review