Synopses & Reviews
The professional programmer’s Deitel
® guide to smartphone and tablet app development using Android M and and the new Android Studio IDE.
Billions of apps have been downloaded from Google Play™! This book gives you everything you’ll need to start developing great Android M 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 code highlighting, code walkthroughs and sample outputs. Apps you’ll develop include:
- Welcome App
- Cannon Game
- Tip Calculator
- Doodlz
- Twitter® Searches
- Flag Quiz
- Address Book
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 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.
The Deitel® Developer Series is designed for professional programmers. The series presents focused treatments on a growing list of emerging and mature technologies, including Android™ app development, iOS® app development, Java™, C# and .NET, C++, C, JavaScript®, Internet and web development and more. Each book in the series contains the same live-code teaching methodology used in the Deitels’ How to Program Series college textbooks—most concepts are presented in the context of completely coded, working apps.
Deitel & Associates is an internationally recognized authoring and corporate training organization specializing in Android™ and iOS® app development, programming languages, object technology and Internet and web software technology. The company offers instructor-led courses delivered at client sites worldwide on programming languages and platforms, such as Android™ app development, iOS® app development, Java™, Objective-C, C#, Visual Basic®, Visual C++®, C++, C, XML, Python, Perl®, object technology, Internet and web programming, and a growing list of additional programming and software-development courses. The founders of Deitel & Associates, Inc., are Paul Deitel and Dr. Harvey Deitel. The company’s training clients include many of the world’s largest corporations, government agencies, branches of the military and academic institutions. To learn more about Deitel & Associates, Inc., its professional books, college textbooks, e-books and LiveLessons video training, and its worldwide Dive-Into® Series instructor-led, on-site training curriculum, visit www.deitel.com/training or send an email to [email protected]. Join the Deitel social media communities on Facebook® (www.deitel.com/DeitelFan), Twitter® (@deitel), Google+™ (google.com/+DeitelFan), LinkedIn® (bit.ly/DeitelLinkedIn) and YouTube™ (youtube.com/user/DeitelTV), and subscribe to the Deitel® Buzz Online newsletter (www.deitel.com/newsletter/subscribe.html).
Synopsis
The professional programmer's Deitel
(R) guide to smartphone and tablet app development using Android(TM) 6 and Android Studio Billions of apps have been downloaded from Google Play(TM) This book gives you everything you need to start developing great apps quickly and getting them published on Google Play(TM). 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(R) Searches
- Doodlz
- Address Book
Practical, Example-Rich Coverage of:
- Android 6, Android Studio: Gradle(TM), 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(TM) 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(TM) 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(R) Series programming training courses, visit www.deitel.com/training or write to [email protected]
- Follow the Deitels on Facebook(R) at facebook.com/DeitelFan, Twitter(R) at @deitel, Google+(TM) at google.com/+DeitelFan, LinkedIn(R) at bit.ly/DeitelLinkedIn, YouTube(TM) at youtube.com/DeitelTV
- Subscribe to the Deitel (R) 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.
About the Author
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
• Preface
• 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