Android Application Development All-in-One For Dummies, 2nd Edition
Read it now on the O’Reilly learning platform with a 10-day free trial.
O’Reilly members get unlimited access to books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.
Book description
Your all-encompassing guide to learning Android app development
If you're an aspiring or beginning programmer interested in creating apps for the Android market—which grows in size and downloads every day—this is your comprehensive, one-stop guide. Android Application Development All-in-One For Dummies covers the information you absolutely need to get started developing apps for Android. Inside, you'll quickly get up to speed on Android programming concepts and put your new knowledge to use to manage data, program cool phone features, refine your applications, navigate confidently around the Android native development kit, and add important finishing touches to your apps.
Covering the latest features and enhancements to the Android Software Developer's Kit, this friendly, hands-on guide walks you through Android programming basics, shares techniques for developing great Android applications, reviews Android hardware, and much more.
- All programming examples, including the sample application, are available for download from the book's website
- Information is carefully organized and presented in an easy-to-follow format
- 800+ pages of content make this an invaluable resource at an unbeatable price
- Written by an expert Java educator, Barry Burd, who authors the bestselling Java For Dummies
Go from Android newbie to master programmer in no time with the help of Android Application Development All-in-One For Dummies!
Show and hide more
Table of contents Product information
Table of contents
- Cover
- Introduction
- How to Use This Book
- Conventions Used in This Book
- What You Don’t Have to Read
- Foolish Assumptions
- How This Book Is Organized
- More on the Web!
- Icons Used in This Book
- Beyond the Book
- Where to Go from Here
- Chapter 1: All about Android
- The Consumer Perspective
- The Developer Perspective
- The Business Perspective
- Installing Oracle’s Java Development Kit
- Adding Apple’s Java to the Stew
- The Many Faces of Java (for Inquiring Readers Only)
- Setting Up the Software
- Launching the Android Studio IDE
- Fattening Up the Android SDK
- Creating Your First App
- Running Your App
- You Can Download All the Code
- What If …
- Testing Apps on a Real Device
- A Project’s Files
- What Did I Agree To?
- Dragging, Dropping, and Otherwise Tweaking an App
- A Bit of Debugging
- Improving the Layout
- Starting Another Activity
- Localizing Your App
- Responding to Check Box Events
- Displaying Images
- Sending in Your Order
- Chapter 1: Using Android Studio
- Don’t Read This Chapter
- The Big Picture
- The Things You Can Do
- From Development to Execution with Java
- Grasping Java Code
- Making Decisions (Java if Statements)
- Repeating Instructions Over and Over Again
- Jumping Away from Trouble
- Static Fields and Methods
- Interfaces and Callbacks
- Classes That Must (and Must Not) Be Extended
- Inner Classes
- Gathering Your Files
- XML Isn’t Ordinary Text
- What’s in a Namespace?
- Chapter 1: Android Activities
- All about Activities
- The Activity Lifecycle
- Getting Results Back from an Activity
- Applications Don’t Feel Left Out
- How to Make a Match
- Practice, Practice, Practice
- Activities and Stacks
- A Very Simple Service
- Running a Service at Boot Time
- Starting and Binding
- Talking about the Weather
- Getting Real Weather Data
- Talking to a Service as if You’re Right Next Door
- Receivers 101
- Beyond the Fundamentals
- Standard Broadcasts
- Databases: From the Stone Age to the Present Day
- Working with a Database
- Creating and Using a Content Provider
- Chapter 1: Laying Out Your Stuff
- Android Layouts
- Linear Layout
- Attributes (A Detour)
- Using Configuration Qualifiers (Another Detour)
- Relative Layout
- Table Layout
- Grid Layout
- Frame Layout
- Using a ScrollView
- Defining a Layout in Java Code
- All about Menus
- Creating an Options Menu
- Creating a Context Menu
- More Stuff about Lists
- Creating a Pop-Up Menu
- Notifying the User
- Making Phone Calls
- Sending a Text Message
- Working with Device Sensors
- Drawing, Dragging, and Zooming
- On the Importance of Waiting Patiently
- The Twitter App’s Files
- How to Talk to the Twitter Server
- The Application’s Main Activity
- Introducing the Hungry Burds Game
- The Project’s Files
- The Main Activity
- The Native Development Kit
- Creating an Application
- Chapter 1: Apps for Tablets
- What Fragments Can Do for You
- Getting the Best of Both Worlds
- Setting Up Your Testing Environment
- Wearable Apps: What’s the Big Deal?
- Case Study: A Watch Face
- Getting Started
- Running the Skeletal App
- Creating a TV App
- Chapter 1: Publishing Your App to the Google Play Store
- Creating a Google Play Developer Account
- Preparing Your Code
- Preparing Graphic Assets for the Play Store
- Creating a Publishable APK File
- More Testing
- Publishing Your App
- Publishing Elsewhere
- Choosing a Revenue Model
- Marketing Your Application
Show and hide more
Product information
- Title: Android Application Development All-in-One For Dummies, 2nd Edition
- Author(s): Barry A. Burd
- Release date: August 2015
- Publisher(s): For Dummies
- ISBN: 9781118973806
You might also like
Check it out now on O’Reilly
Dive in for free with a 10-day trial of the O’Reilly learning platform—then explore all the other resources our members count on to build skills and solve problems every day.