平台功能Platform Features

本節中的檔涵蓋 Android 特有的功能。您可以在這裡找到一些主題,例如使用片段、使用對應,以及使用內容提供者封裝資料。Documents in this section cover features specific to Android. Here you'll find topics such as using Fragments, working with maps, and encapsulating data with Content Providers.

Android BeamAndroid Beam

Android 橫樑是 Android 4 中新的近距離無線通訊(NFC)技術,可讓應用程式在接近鄰近的情況時,透過 NFC 分享資訊。Android Beam is a new Near Field Communication (NFC) technology in Android 4 that allows applications to share information over NFC when in close proximity.

使用檔案Working with Files

本節討論如何存取 Xamarin. Android 中的檔案。This section discusses how to access files in Xamarin.Android.

指紋驗證Fingerprint Authentication

本節討論如何使用在 Android 6.0 中首次引進的「指紋驗證」至「Xamarin Android 應用程式」。This section discusses how to use fingerprint authentication, first introduced in Android 6.0, to a Xamarin.Android application.

Firebase Job DispatcherFirebase Job Dispatcher

本指南討論 Firebase 作業發送器,以及如何使用它來簡化 Xamarin Android 應用程式中的背景工作。This guide discusses the Firebase Job Dispatcher and how to use it to simplify running background jobs in a Xamarin.Android app.


Android 3.0 引進了片段,示範如何針對在手機和平板電腦上找到的各種不同螢幕大小,支援更具彈性的設計。Android 3.0 introduced Fragments, showing how to support more flexible designs for the many different screen sizes found on phones and tablets. 本文將說明如何使用片段來開發 Xamarin Android 應用程式,以及如何支援 Android 前3.0 (API 層級11)裝置上的片段。This article will cover how to use Fragments to develop Xamarin.Android applications, and also how to support Fragments on pre-Android 3.0 (API Level 11) devices.


本指南將討論 Android 6.0 如何支援_應用程式連結_,這項技術可讓行動應用程式回應網站上的 url。This guide will discuss how Android 6.0 supports app-linking, a technique that allows mobile apps to respond to URLs on websites. 它將討論如何在 Android 6.0 應用程式中執行應用連結,以及如何設定網站來授與許可權給行動應用程式,以處理網域的應用程式連結。It will discuss how to implement app-linking in an Android 6.0 application and how to configure a website to grant permissions to the mobile app to handle app-links for the domain.

Android 10Android 10

本文概述 Android 10 的新功能,說明如何準備 Xamarin 以進行 Android 10 開發,並提供範例應用程式的連結,說明如何在 Xamarin Android 應用程式中使用 Android Oreo 功能。This article provides an outline of the new features in Android 10, explains how to prepare Xamarin.Android for Android 10 development, and provides links to sample applications that illustrate how to use Android Oreo features in Xamarin.Android apps.

Android 9 圓形圖Android 9 Pie

本文概述 Android 圓形圖的新功能,說明如何準備 Xamarin 以進行 Android 圓形圖開發,並提供範例應用程式,說明如何在中使用新的 Android 圓形圖顯示切除和通知功能Xamarin Android 應用程式。This article provides an outline of the new features in Android Pie, explains how to prepare Xamarin.Android for Android Pie development, and provides an example app that illustrates how to use the new Android Pie display cutout and notification features in Xamarin.Android apps.

Android 8 OreoAndroid 8 Oreo

本文概述 Android Oreo 的新功能、說明如何準備 Xamarin 以進行 Android Oreo 開發,以及提供範例應用程式的連結,說明如何在 Xamarin Android 應用程式中使用 Android Oreo 功能。This article provides an outline of the new features in Android Oreo, explains how to prepare Xamarin.Android for Android Oreo development, and provides links to sample applications that illustrate how to use Android Oreo features in Xamarin.Android apps.

Android 7 NougatAndroid 7 Nougat

本文提供 Android 7.0 Nougat 中引進之新功能的高階總覽。This article provides a high-level overview of the new features introduced in Android 7.0 Nougat.

Android 6 MarshmallowAndroid 6 Marshmallow

本文提供 Android 6.0 Marshmallow 中引進之新功能的高階總覽。This article provides a high-level overview of the new features introduced in Android 6.0 Marshmallow.

Android 5 LollipopAndroid 5 Lollipop

本指南概述新的 Android 5.0 棒糖功能(例如材質主題、CardView、RecyclerView 和列印頭通知),並提供深入的文章連結,協助您在應用程式中使用這些新功能。This guide provides an overview of new Android 5.0 Lollipop features such as Material Theme, CardView, RecyclerView, and Heads Up Notifications, and it links to in-depth articles that help you use these new features in your app.

Android 4.4 KitKatAndroid 4.4 KitKat

Android 4.4 (KitKat)已載入多的使用者和開發人員功能。Android 4.4 (KitKat) comes loaded with a cornucopia of features for users and developers both. 本指南將重點放在其中幾項功能,並提供程式碼範例和執行詳細資料,以協助您充分利用 KitKat。This guide highlights several of these features and provides code examples and implementation details to help you make the most out of KitKat.

Android 4.1 Jelly BeanAndroid 4.1 Jelly Bean

本檔將針對 Android 4.1 中引進的開發人員提供新功能的高階總覽。This document will provide a high-level overview of the new features for developers that were introduced in Android 4.1. 這些功能包括:增強的通知、Android 橫樑更新以共用大型檔案、更新為多媒體、對等網路探索、動畫、新許可權。These features include: enhanced notifications, updates to Android Beam to share large files, updates to multimedia, peer-to-peer network discovery, animations, new permissions.

Android 4.0 Ice Cream SandwichAndroid 4.0 Ice Cream Sandwich

本文說明一些可供應用程式開發人員使用Android 4 API 霜淇淋三明治的新功能。This article describes several of the new features available to application developers with the Android 4 API - Ice Cream Sandwich. 其中涵蓋數個新的使用者介面技術,然後檢查 Android 4 提供的各種新功能,以便在應用程式之間和裝置之間共用資料。It covers several new user interface technologies and then examines a variety of new capabilities that Android 4 offers for sharing data between applications and between devices.

使用 Android 資訊清單Working with the Android Manifest

本文介紹 Androidmanifest.xml,以及如何使用它來控制功能及描述 Mono for Android 應用程式的需求。This article introduces the AndroidManifest.xml file, and how it maybe be used to control functionality and describe the requirements of a Mono for Android application.

內容提供者簡介Introduction to Content Providers

ContentProvider 會封裝資料存放庫,並提供 API 來存取它。A ContentProvider encapsulates a data repository and provides an API to access it. 提供者是 Android 應用程式的一部分,它也會提供 UI 來顯示/管理資料。The provider exists as part of an Android application that also provides a UI for displaying/managing the data. 使用內容提供者的主要優點是讓其他應用程式可以使用提供者用戶端物件(稱為 ContentResolver)輕鬆地存取封裝的資料。The key benefit of using a content provider is enabling other applications to easily access the encapsulated data using a provider client object (called a ContentResolver). 內容提供者和內容解析程式共同提供了一致的應用程式間 API,可讓您輕鬆建立及取用資料存取。Together a content provider and content resolver offer a consistent inter-application API for data access that is simple to build and consume. 本檔說明如何使用 Xamarin 來存取和建立 ContentProviders。This document shows how to access and build ContentProviders with Xamarin.Android.

地圖與位置Maps and Location

本節討論如何搭配使用對應和位置與 Xamarin. Android。This section discusses how to use maps and location with Xamarin.Android. 其中涵蓋了將內建地圖應用程式直接運用在Google Maps ANDROID API v2的所有內容。It covers everything from leveraging the built-in maps application to using the Google Maps Android API v2 directly. 此外,它也會說明如何使用單一 API 來處理位置服務,以使用行動電話的三角化,讓應用程式取得位置修正、Wi-fi 位置和 GPS。Additionally, it explains how to use a single API to work with location services, which use cellular triangulation to allow an application to obtain location fixes, Wi-Fi location, and GPS.

Android 語音Android Speech

本節討論如何使用 Android 文字轉換語音和語音轉換文字設施。This section discusses how to use the Android Text to Speech and Speech to Text facilities. 其中也涵蓋安裝語言套件,以及對裝置所說的文字的解讀。It also covers installing language packs and interpretation of the text spoken to the device.

繫結 Java 程式庫Binding a Java Library

本指南說明如何藉由建立系結程式庫,將 JAVA 程式庫整合到 Xamarin Android 應用程式中。This guide explains how to incorporate Java libraries into Xamarin.Android apps by creating a Bindings Library.

Java 整合Java Integration

本文概述開發人員可以在 Xamarin Android 應用程式中重複使用現有 JAVA 元件的方式。This article provides an overview of the ways that developers can reuse existing Java components in Xamarin.Android apps.


本指南將討論 Renderscript。This guide discusses Renderscript.