天氣應用程式
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
您可以透過 Android 車用服務打造應用程式體驗,向駕駛人顯示天氣地圖和相關天氣資訊。
車輛專用 Android 應用程式程式庫中的範本經過駕駛最佳化處理,可讓您在應用程式中顯示相關天氣資訊。您使用這些範本設計的應用程式可同時支援 Android Auto 和 AAOS。
在「天氣」類別中,應用程式可以繪製自己的地圖,顯示溫度、風速和雷達疊加圖等天氣相關資訊。
開始使用
如要瞭解如何使用 Android 車輛專用 App Library 中的範本設計應用程式,請參閱「使用範本建構應用程式」。
相關範本包括:
使用者體驗規定
天氣應用程式必須符合模板應用程式的全球規定,以及天氣應用程式和任務流程中使用的特定範本的規定。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eAndroid for Cars enables the creation of apps that display weather maps and information to drivers, utilizing driving-optimized templates.\u003c/p\u003e\n"],["\u003cp\u003eThese apps, designed with the Android for Cars App Library, are compatible with both Android Auto and AAOS.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize various templates like Grid, List, and Map + Content to build weather apps with features like temperature, wind, and radar overlays.\u003c/p\u003e\n"],["\u003cp\u003eWeather app development using the Android for Cars App Library is currently limited to Early Access Partners.\u003c/p\u003e\n"],["\u003cp\u003eWeather apps must adhere to UX requirements outlined for templated apps, weather-specific guidelines, and the chosen templates.\u003c/p\u003e\n"]]],[],null,["# Weather apps\n\n\u003cbr /\u003e\n\nAndroid for Cars lets you create app experiences that display weather maps and\nrelevant weather information to drivers.\n\nThe templates in the Android for Cars App Library are driving-optimized and\nallow you to show relevant weather information in your app. The apps you design\nwith these templates can work for both Android Auto and AAOS.\n\nIn the Weather category, your app can draw its own map to show weather relevant\ninformation such as temperature, wind, and radar overlays.\n\nGet started\n-----------\n\nTo learn how to design apps with the templates in the Android for Cars App\nLibrary, see\n[Build apps with templates](/cars/design/create-apps/apps-for-drivers/build-with-templates).\n| **Note:** For more details on how to build this experience, see [Build weather apps for cars](https://developer.android.com/training/cars/apps/weather).\n\nRelevant templates include:\n\n- [Grid template](/cars/design/create-apps/apps-for-drivers/templates/grid-template)\n- [List template](/cars/design/create-apps/apps-for-drivers/templates/list-template)\n- [Long Message template](/cars/design/create-apps/apps-for-drivers/templates/long-message-template)\n- [Message template](/cars/design/create-apps/apps-for-drivers/templates/message-template)\n- [Pane template](/cars/design/create-apps/apps-for-drivers/templates/pane-template)\n- [Search template](/cars/design/create-apps/apps-for-drivers/templates/search-template)\n- [Sign-In template](/cars/design/create-apps/apps-for-drivers/templates/sign-in-template)\n- [Tab template](/cars/design/create-apps/apps-for-drivers/templates/tab-template)\n- [Map + Content template](/cars/design/create-apps/apps-for-drivers/templates/map-content-template)\n\nUX requirements\n---------------\n\nWeather apps need to meet the\n[global requirements for templated apps](/cars/design/create-apps/ux-requirements/templated-apps#general),\nas well as the requirements for [weather apps](/cars/design/create-apps/ux-requirements/templated-apps#weather)\nand for the [specific templates](/cars/design/create-apps/ux-requirements/templated-apps#templates)\nused in the task flows."]]