Android official Getting Started document

Source: Internet
Author: User
Tags save file

Android official Getting Started document

Welcome to the training for Android developers. Here you will find a set of lessons describing how to implement the application in the code sample, and you can reuse a specific task class. Classes are organized into several groups that can be seen on the top level of the left navigation.
This first group, getting started, teaches you the most basic development of Android apps. If you are a new Android app developer, you should complete these courses in order.

If you think you might prefer to learn the basics through interactive video training, take a look at this trailer in the basics of Android development in a course.


Getting Started

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

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

If you think your might prefer to learn the basics through interactive video training, check out this trailer for a course In the fundamentals of Android development.

Build your first app

When you install the Android SDK, start with this class to learn the basics of Android app development.
Create an Android project
Running the application
Build a simple user interface
Start another activity

Building Your First APP

After your ' 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

Add Action Bar

The action Bar is one of the most important design elements that you can implement for your application's activities. Although first introduced with API level 11, you can use the support library, including the device action bar running Android2.1 or later.
Set the Action Bar
Add Action button
Styling Action Bar
Overlay Action Bar

Adding the Action Bar

The action Bar is one of the most important design elements your can implement for your app ' s activities. Although first introduced with API level one, you can use the support Library to include the action bar on devices running Android 2.1 or higher.
Setting up the Action Bar
Adding Action Buttons
Styling the Action Bar
Overlaying the Action Bar

Support for different devices

How to build an application that provides an alternative resource for optimizing the user experience with a single apk multiple device form factor.
Support for different languages
Support for different screens
Support for different platform versions

Supporting Different Devices

How to build your app with alternative resources, provide an optimized user experience on multiple device form factors Using a single APK.
Supporting Different Languages
Supporting Different Screens
Supporting Different Platform Versions

Manage the activity life cycle

How Android is active, life and death, and how to create a seamless user experience by implementing a lifecycle callback method.
Start an activity
Suspended and resumed activities
Stopping and restarting an activity
Recreate an activity

Managing the Activity Lifecycle

How Android activities Live and die and what to create a seamless user experience by implementing lifecycle callback method S.
Starting an Activity
Pausing and Resuming an Activity
Stopping and restarting an Activity
Recreating an Activity

Building dynamic UI and fragments

How to build a user interface for your application, very flexible, can have multiple UI components in a set of UI components that are more constrained to a single apk for mobile phones and tablets in large screens and small screens.
Create a fragment
Build a flexible UI
Communicating with other fragments

Building a Dynamic UI with fragments

How to build a user interface for your app this is flexible enough to present multiple UI components on large screens and A more constrained set of UI, smaller screens-essential for building a single APK for both phones and tablets .
Creating a Fragment
Building a flexible UI
Communicating with other fragments

Save data

How to save data on a device, whether it's a temporary file, a downloaded application asset, a user's media, structured data, or something else.
Save key value Settings
Save File
Saving data in SQL database

Saving Data

How to save data on the device, whether it ' s temporary files, downloaded app assets, user media, structured data, or Somet Hing else.
Saving Key-value Sets
Saving Files
Saving Data in SQL Databases

Interacting with other applications

How to build a user experience that leverages other applications that are available on the device for advanced user tasks, such as capturing photos or viewing addresses on a map.
Sending a user to another application
Get a result from the activity
Allow other applications to start your activity

Interacting with other Apps

How to build a user experience this leverages other apps available on the device to perform advanced user tasks, such as C Apture 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

This article is translated from: https://developer.android.com/training/index.html

Android official Getting Started document

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.