Intents An Intent is a messaging object you can use to request an action from another app component. Although intents facilitate communication between components in several ways, there are three fundamental use-cases: Intent用来封装各组件跳转时的数据,行为,目标组件等信息的类…
Receiving an Implicit Intent To advertise which implicit intents your app can receive, declare one or more intent filters for each of your app components with an <intent-filter> element in your manifest file. Each intent filter specifies the type of…
Forcing an app chooser When there is more than one app that responds to your implicit intent, the user can select which app to use and make that app the default choice for the action. This is nice when performing an action for which the user probably…
Building an Intent An Intent object carries information that the Android system uses to determine which component to start (such as the exact component name or component category that should receive the intent), plus information that the recipient co…
Intent Types There are two types of intents: Explicit intents specify the component to start by name (the fully-qualified class name). You'll typically use an explicit intent to start a component in your own app, because you know the class name of th…
In this document Overview Accessing a provider Content URIs Content Provider Basics A content provider manages access to a central repository of data. A provider is part of an Android application, which often provides its own UI for working with the…
guide/components/intents-common.html 包含:Alarm Clock Calendar Camera Contacts/People App Email File Storage Local Actions Maps Music or Video New Note Phone Search Settings Text Messaging Web Browser Verify Intents with the Android Debug Bridge…
Layout Resource SEE ALSO Layouts A layout resource defines the architecture for the UI in an Activity or a component of a UI. FILE LOCATION: res/layout/filename.xml The filename will be used as the resource ID. COMPILED RESOURCE DATATYPE: Resource po…
Action Bar The action bar is a window feature that identifies the user location, and provides user actions and navigation modes. Using the action bar offers your users a familiar interface across applications that the system gracefully adapts for dif…