Vorlage:Android Training/Content

Aus Android Wiki
(Weitergeleitet von Vorlage:Android Training/Inhalt)
Sprachen:

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