to top

Getting Started

Welcome to Training for Android developers. Here you'll find sets of lessons within classes that describe how to accomplish a specific task with code samples you can re-use in your app. Classes are organized into several groups you can see at the top-level of the left navigation.

This first group, Getting Started, teaches you the bare essentials for Android app development. If you're a new Android app developer, you should complete each of these classes in order:

  1. Building Your First App

    After you've installed the Android SDK, start with this class to learn the basics about Android app development.

    1. Creating an Android Project
    2. Running Your Application
    3. Building a Simple User Interface
    4. Starting Another Activity
  2. Managing the Activity Lifecycle

    How Android activities live and die and how to create a seamless user experience by implementing lifecycle callback methods.

    1. Starting an Activity
    2. Pausing and Resuming an Activity
    3. Stopping and Restarting an Activity
    4. Recreating an Activity
  3. Supporting Different Devices

    How to build your app with alternative resources that provide an optimized user experience on multiple device form factors using a single APK.

    1. Supporting Different Languages
    2. Supporting Different Screens
    3. Supporting Different Platform Versions
  4. Building a Dynamic UI with Fragments

    How to build a user interface for your app that is flexible enough to present multiple UI components on large screens and a more constrained set of UI components on smaller screens—essential for building a single APK for both phones and tablets.

    1. Using the Support Library
    2. Creating a Fragment
    3. Building a Flexible UI
    4. Communicating with Other Fragments
  5. Saving Data

    How to save data on the device, whether it's temporary files, downloaded app assets, user media, structured data, or something else.

    1. Saving Key-Value Sets
    2. Saving Files
    3. Saving Data in SQL Databases
  6. Interacting with Other Apps

    How to build a user experience that leverages other apps available on the device to perform advanced user tasks, such as capture a photo or view an address on a map.

    1. Sending the User to Another App
    2. Getting a Result from the Activity
    3. Allowing Other Apps to Start Your Activity
  7. Sharing Content

    How to take your app interaction to the next level by sharing information with other apps, receive information back, and provide a simple and scalable way to perform Share actions with user content.

    1. Sending Content to Other Apps
    2. Receiving Content from Other Apps
    3. Adding an Easy Share Action