天氣應用程式
您可以透過 Android 車用服務打造應用程式體驗,向駕駛人顯示天氣地圖和相關天氣資訊。
車輛專用 Android 應用程式程式庫中的範本經過駕駛最佳化處理,可讓您在應用程式中顯示相關天氣資訊。您使用這些範本設計的應用程式可同時支援 Android Auto 和 AAOS。
在「天氣」類別中,應用程式可以繪製自己的地圖,顯示溫度、風速和雷達疊加圖等天氣相關資訊。
開始使用
如要瞭解如何使用 Android 車輛專用 App Library 中的範本設計應用程式,請參閱「使用範本建構應用程式」。
相關範本包括:
使用者體驗規定
天氣應用程式必須符合模板應用程式的全球規定,以及天氣應用程式和任務流程中使用的特定範本的規定。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-21 (世界標準時間)。
[null,null,["上次更新時間:2024-12-21 (世界標準時間)。"],[[["Android for Cars enables the creation of apps that display weather maps and information to drivers, utilizing driving-optimized templates."],["These apps, designed with the Android for Cars App Library, are compatible with both Android Auto and AAOS."],["Developers can utilize various templates like Grid, List, and Map + Content to build weather apps with features like temperature, wind, and radar overlays."],["Weather app development using the Android for Cars App Library is currently limited to Early Access Partners."],["Weather apps must adhere to UX requirements outlined for templated apps, weather-specific guidelines, and the chosen templates."]]],[]]