Android Training

Aus Android Wiki
Wechseln zu: Navigation, Suche

Sprachen:
Deutsch • ‎English

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.

If you prefer to learn through interactive video training, check out this trailer for a course about the fundamentals of Android development.

Building your first app

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

Creating an Android Project
Running Your Application
Building a Simple User Interface
Starting Another Activity


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.

Supporting Different Languages
Supporting Different Screens
Supporting Different Platform Versions


Managing the Activity Lifecycle

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

Starting an Activity
Pausing and Resuming an Activity
Stopping and Restarting an Activity
Recreating an Activity


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.

Creating a Fragment
Building a Flexible UI
Communicating with Other Fragments


Saving Data

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

Saving Key-Value Sets
Saving Files
Saving Data in SQL Databases


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.

Sending the User to Another App
Getting a Result from the Activity
Allowing Other Apps to Start Your Activity


Working with System Permissions

How to declare that your app needs access to features and resources outside of its 'sandbox', and how to request those privileges at runtime.

Declaring Permissions
Requesting Permissions at Run Time
Best Practices for Runtime Permissions