Android 6.0 Marshmallow

展示 Android 6.0 的平板電腦、手機和喇叭等裝置

讓你的應用程式準備好迎接 Android 6.0 Marshmallow! 探索各項新功能,包括執行階段權限打盹應用程式待命省電功能,以及新的輔助技術等等。

除了新功能外,Android 6.0 (API 級別 23) 也包含多項系統變更和 API 行為變更。本文件將說明一些您應瞭解並在應用程式中納入考量的重大變更。如果您先前…

瞭解 Android 6.0 Marshmallow 的新開發人員功能。

資源

提供必要資訊,協助您讓應用程式做好準備,以便在 Android 6.0 上運作。

所有 Android 應用程式都是在存取權受限的沙箱中執行。如果您的應用程式需要使用自身沙箱以外的資源或資訊,您可以 宣告執行階段權限 ,並設定提供這項存取權的權限要求。這些步驟屬於 使用權限工作流程 的一環。 如果您宣告任何 危險權限 ,且應用程式安裝在搭載 Android 6.0 (API 級別 23) 以上版本的裝置上,就必須按照本指南所說明的步驟,在執行階段要求危險權限。 如果您未宣告任何危險權限,或者您的應用程式是安裝在搭載 Android 5.1 (API 級別 22)

使用者在裝置上點按連結時,心中只有一個目標:到達想瀏覽的內容。 開發人員可以設定 Android 應用程式連結,直接將使用者帶往應用程式中的特定內容,而無須經過應用程式選取對話方塊 (又稱為歧義對話方塊)。由於 Android 應用程式連結會利用 HTTP 網址並與網站建立關聯,因此未安裝應用程式的使用者可以直接前往網站上的內容。 在實作 Android 應用程式連結前,請務必先瞭解 Android 應用程式建立不同類型的連結:深層連結、網站 以及 Android 應用程式連結圖 1

透過 Assist API 支援內容比對動作。

測試及最佳化應用程式,以享有 Android 6.0 中的省電功能。

影片

新的 Android 功能,以及在應用程式中使用這些功能的正確方式。

Updated 2019年3月14日

Updated 2019年3月14日

Updated 2019年3月14日

最新

Marshmallow introduced several changes that were designed to help your app look after user data. The goal was to make it easier for developers to do the right thing. So as Android 6.0, Marshmallow, gains traction, we challenge you to do just that.

Testing is important whether you’re building a dedicated app for the workplace, rolling out new features, or making it easy for IT departments to deploy. Test DPC is now available for you and is a fully featured, open-source, sample Device Policy

As we announced in the previous blog post, Android 6.0 Marshmallow is now publicly available to users. Along the way, we’ve been updating our samples collection to highlight exciting new features available to developers. This week, we’re releasing

Google Translate is used by more than 500 million people every month, translating more than 100 billion words every single day. Beginning this week, Android mobile users who have the Translate app installed will be able to translate in 90 languages