Android Application Development All-in-One For Dummies, 2nd Edition

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.

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

    1. Cover
    2. Introduction
      1. How to Use This Book
      2. Conventions Used in This Book
      3. What You Don’t Have to Read
      4. Foolish Assumptions
      5. How This Book Is Organized
      6. More on the Web!
      7. Icons Used in This Book
      8. Beyond the Book
      9. Where to Go from Here
      1. Chapter 1: All about Android
        1. The Consumer Perspective
        2. The Developer Perspective
        3. The Business Perspective
        1. Installing Oracle’s Java Development Kit
        2. Adding Apple’s Java to the Stew
        3. The Many Faces of Java (for Inquiring Readers Only)
        4. Setting Up the Software
        5. Launching the Android Studio IDE
        6. Fattening Up the Android SDK
        1. Creating Your First App
        2. Running Your App
        3. You Can Download All the Code
        4. What If …
        5. Testing Apps on a Real Device
        1. A Project’s Files
        2. What Did I Agree To?
        1. Dragging, Dropping, and Otherwise Tweaking an App
        2. A Bit of Debugging
        1. Improving the Layout
        2. Starting Another Activity
        3. Localizing Your App
        4. Responding to Check Box Events
        5. Displaying Images
        6. Sending in Your Order
        1. Chapter 1: Using Android Studio
          1. Don’t Read This Chapter
          2. The Big Picture
          3. The Things You Can Do
          1. From Development to Execution with Java
          2. Grasping Java Code
          1. Making Decisions (Java if Statements)
          2. Repeating Instructions Over and Over Again
          3. Jumping Away from Trouble
          1. Static Fields and Methods
          2. Interfaces and Callbacks
          3. Classes That Must (and Must Not) Be Extended
          4. Inner Classes
          5. Gathering Your Files
          1. XML Isn’t Ordinary Text
          2. What’s in a Namespace?
          1. Chapter 1: Android Activities
            1. All about Activities
            2. The Activity Lifecycle
            3. Getting Results Back from an Activity
            4. Applications Don’t Feel Left Out
            1. How to Make a Match
            2. Practice, Practice, Practice
            3. Activities and Stacks
            1. A Very Simple Service
            2. Running a Service at Boot Time
            3. Starting and Binding
            4. Talking about the Weather
            5. Getting Real Weather Data
            6. Talking to a Service as if You’re Right Next Door
            1. Receivers 101
            2. Beyond the Fundamentals
            3. Standard Broadcasts
            1. Databases: From the Stone Age to the Present Day
            2. Working with a Database
            3. Creating and Using a Content Provider
            1. Chapter 1: Laying Out Your Stuff
              1. Android Layouts
              2. Linear Layout
              3. Attributes (A Detour)
              4. Using Configuration Qualifiers (Another Detour)
              5. Relative Layout
              6. Table Layout
              7. Grid Layout
              8. Frame Layout
              9. Using a ScrollView
              10. Defining a Layout in Java Code
              1. All about Menus
              2. Creating an Options Menu
              3. Creating a Context Menu
              4. More Stuff about Lists
              5. Creating a Pop-Up Menu
              6. Notifying the User
              1. Making Phone Calls
              2. Sending a Text Message
              3. Working with Device Sensors
              4. Drawing, Dragging, and Zooming
              5. On the Importance of Waiting Patiently
              1. The Twitter App’s Files
              2. How to Talk to the Twitter Server
              3. The Application’s Main Activity
              1. Introducing the Hungry Burds Game
              2. The Project’s Files
              3. The Main Activity
              1. The Native Development Kit
              2. Creating an Application
              1. Chapter 1: Apps for Tablets
                1. What Fragments Can Do for You
                2. Getting the Best of Both Worlds
                1. Setting Up Your Testing Environment
                2. Wearable Apps: What’s the Big Deal?
                3. Case Study: A Watch Face
                1. Getting Started
                2. Running the Skeletal App
                3. Creating a TV App
                1. Chapter 1: Publishing Your App to the Google Play Store
                  1. Creating a Google Play Developer Account
                  2. Preparing Your Code
                  3. Preparing Graphic Assets for the Play Store
                  4. Creating a Publishable APK File
                  5. More Testing
                  6. Publishing Your App
                  7. Publishing Elsewhere
                  1. Choosing a Revenue Model
                  2. 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.