Android official documentation: (4) Getting started-Introduction to Andoird 4.1

Source: Internet
Author: User

Android official documentation: (4) Getting started-Introduction to Andoird 4.1

Http://developer.android.com/guide/index.html


Android provides a rich application framework that allows you to build innovative apps and gamesf or mobile devices in a Java language environment. the specified ents listed in the left navigation provide details about how to build apps using Android's varous APIs.

If you're new to Android development, it's important that you understand the following fundamental concepts about the Android app framework:

Apps provide multiple entry points

Android apps are built as a combination of distinct components that can be invoked individually. For instance, an individualActivityProvides a single screen for a user interface, andServiceIndependently performs work in the background.

From one component you can start another component usingIntent. You can even start a component in a different app, such an activity in a maps app to show an address. this model provides multiple entry points for a single app and allows any app to behave as a user's "default" for an action that other apps may invoke.

Learn more:

  • App Fundamentals
  • Intents and Intent Filters
  • Activities
Apps adapt to different devices

Android provides an adaptive app framework that allows you to provide unique resources for different device configurations. for example, you can create different XML layout files for different screen sizes and the system determines which layout to apply based on the current device's screen size.

You can query the availability of device features at runtime if any app features require specific hardware such as a camera. if necessary, you can also declare features your app requires so app markets such as Google Play Store do not allow installation on devices that do not support that feature.

Learn more:

  • Device Compatibility
  • Resources Overview
  • User Interface Overview

Related Article

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.