Book description
The professional programmer’s Deitel® guide to smartphone and tablet app development using Android 4.3 and 4.4, the Eclipse-based Android Development Tools and the new Android Studio
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:
Welcome App Cannon Game Tip Calculator Doodlz Twitter® Searches Address Book Flag Quiz
The first-generation Android phones were released in October 2008. By October 2013, a Strategy Analytics report showed that Android had 81.3% of the global smartphone market share, compared to 13.4% for Apple, 4.1% for Microsoft and 1% for Blackberry (bit.ly/1aqIZXf). Billions of apps have been downloaded from Google Play. There are now more than one billion activated Android devices worldwide and more than 1.5 million Android devices are being activated daily (venturebeat.com/2013/09/03/android-hits-1bactivations-and-will-be-called-kitkat-in-nextversion). 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 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:
Android 4.3 and 4.4 Android Development Tools, Android Studio Supporting Various Screen Sizes/Resolutions Accessibility, Internationalization, Graphics Activities, Fragments, Intents, Preferences GUIs, Layouts, Menus, Resource Files, Lists, Adapters, Events, Touch/Gesture Processing Immersive Mode, Printing Framework, PrintHelper Assets (Images, Audio), View Animation Threading, Collections, SQLite Database Social sharing via implicit intents Google Play™, App Publishing, Pricing, Monetization, Marketing, In-App Advertising, In-App Billing and more.
Visit www.deitel.com
Download code examples For information on Deitel’s Dive Into® Series programming training courses delivered at organizations worldwide visit www.deitel.com/training or write to deitel@deitel.com Join the Deitel social networking communities on Facebook® at deitel.com/DeitelFan, Twitter® @deitel, Google+™ at google.com/+DeitelFan, LinkedIn® at bit.ly/DeitelLinkedIn, YouTube™ at youtube.com/user/DeitelTV and subscribe to the Deitel® Buzz Online e-mail newsletter at www.deitel.com/newsletter/ subscribe.html
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 deitel@deitel.com. 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).
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Dedication Page
- Contents
-
Preface
- Copyright Notice and Code License
- Intended Audience
- Key Features
- Features
- Working with Open-Source Apps
- Android for Programmers: An App-Driven Approach, Second Edition, Volume 2
- Android Fundamentals, Second Edition LiveLessons Video Training Products
- Join the Deitel & Associates, Inc. Social Networking Communities
- Contacting the Authors
- Visit www.deitel.com to:
- Acknowledgments
- Reviewers of the Content from Android for Programmers: An App-Driven Approach and Android How to Program Recent Editions
- About the Authors
- Deitel® Dive-Into® Series Corporate Training
-
Before You Begin
- Font and Naming Conventions
- Software and Hardware System Requirements
- Installing the Java Development Kit (JDK)
- Android Integrated Development Environment (IDE) Options
- Installing the Android SDK/ADT Bundle
- Installing Android Studio
- Set the Java Compiler Compliance Level and Show Line Numbers
- Android 4.3 SDK
- Creating Android Virtual Devices (AVDs)
- (Optional) Setting Up an Android Device for Development
- Obtaining the Book’s Code Examples
- A Note Regarding the Android Development Tools
-
1. Introduction to Android
- 1.1. Introduction
- 1.2. Android—The World’s Leading Mobile Operating System
- 1.3. Android Features
- 1.4. Android Operating System
- 1.5. Downloading Apps from Google Play
- 1.6. Packages
- 1.7. Android Software Development Kit (SDK)
- 1.8. Object-Oriented Programming: A Quick Refresher
- 1.9. Test-Driving the Doodlz App in an Android Virtual Device (AVD)
- 1.10. Building Great Android Apps
- 1.11. Android Development Resources
- 1.12. Wrap-Up
- 2. Welcome App
- 3. Tip Calculator App
- 4. Twitter® Searches App
- 5. Flag Quiz App
-
6. Cannon Game App
- 6.1. Introduction
- 6.2. Test-Driving the Cannon Game App
- 6.3. Technologies Overview
- 6.4. Building the App’s GUI and Resource Files
- 6.5. Class Line Maintains a Line’s Endpoints
- 6.6. MainActivity Subclass of Activity
- 6.7. CannonGameFragment Subclass of Fragment
- 6.8. CannonView Subclass of View
- 6.9. Wrap-Up
- 7. Doodlz App
- 8. Address Book App
-
9. Google Play and App Business Issues
- 9.1. Introduction
- 9.2. Preparing Your Apps for Publication
- 9.3. Pricing Your App: Free or Fee
- 9.4. Monetizing Apps with In-App Advertising
- 9.5. Monetizing Apps: Using In-App Billing to Sell Virtual Goods
- 9.6. Registering at Google Play
- 9.7. Setting Up a Google Wallet Merchant Account
- 9.8. Uploading Your Apps to Google Play
- 9.9. Launching the Play Store from Within Your App
- 9.10. Managing Your Apps in Google Play
- 9.11. Other Android App Marketplaces
- 9.12. Other Popular Mobile App Platforms
- 9.13. Marketing Your Apps
- 9.14. Wrap-Up
- Index
Product information
- Title: Android™ for Programmers: An App-Driven Approach, Second Edition
- Author(s):
- Release date: December 2013
- Publisher(s): Pearson
- ISBN: 9780133570960
You might also like
book
Swift 2 for Absolute Beginners
Swift 2 for Absolute Beginners is perfect for those with no programming background, those with some …
book
Beginning Android Wearables
Although wearable devices have existed since the 70s, they have only recently become mainstream. Google Glass …
book
Android Game Programming: A Developer’s Guide
Extend your game development skills by harnessing the power of Android SDK About This Book Gain …
book
Beginning Android™ Application Development
Create must-have applications for the latest Android OS The Android OS is a popular and flexible …