Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Les expériences d'appel sont disponibles en version bêta
Pour le moment, tout le monde peut publier des applications de communication avec des expériences d'appel sur les canaux de test interne et fermés du Play Store. La publication sur les canaux de test ouverts et de production sera autorisée à une date ultérieure.
Pour prendre en charge la réponse et le contrôle des appels sur Android Auto, votre application doit s'intégrer à la bibliothèque Telecom Jetpack, comme décrit dans la section Créer une application d'appel. En particulier, votre application doit prendre en charge les rappels décrits dans la section Compatibilité avec les surfaces distantes. Votre application doit également utiliser son intégration télécom en permanence, et pas seulement lorsque le téléphone d'un utilisateur exécute Android Auto.
Créer une expérience d'appel basée sur des modèles
En plus de la vue en appel fournie par Android Auto, qui est optimisée par l'intégration télécom de votre application, votre application peut fournir une expérience modélisée pour permettre aux utilisateurs d'accéder au contenu de votre application sur l'écran de leur voiture. Par exemple, votre application peut afficher une liste de contacts avec des actions permettant de démarrer un appel, une vue d'agenda des appels à venir, un journal des appels, etc. Lorsqu'un appel est en cours, Android Auto affiche automatiquement sa vue d'appel pendant toute la durée de l'appel, remplaçant les écrans avec modèle de votre application.
Étant donné que les applications compatibles avec les appels ne peuvent être publiées que sur les canaux de test interne et de test fermé sur Google Play, vous ne devez pas promouvoir les builds qui incluent la compatibilité avec les canaux de test ouvert ou de production, car les envois contenant des builds sur ces canaux seront refusés.
Le contenu et les exemples de code de cette page sont soumis aux licences décrites dans la Licence de contenu. Java et OpenJDK sont des marques ou des marques déposées d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/27 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/27 (UTC)."],[],[],null,["# Build calling experiences for Android Auto\n\nCalling experiences are in beta \nAt this time, anyone can publish communication apps with calling experiences to internal testing and closed testing tracks on the Play Store. Publishing to open testing and production tracks will be permitted at a later date. \n[Nominate yourself to be an early access partner →](https://forms.gle/VsXEdDEBidxw8q8u8) \n\nApps that support making voice calls can improve their experience on Android\nAuto by integrating with the [Telecom Jetpack library](/develop/connectivity/telecom) and\nproviding a templated user interface built using the [Android for Cars App\nLibrary](/training/cars/apps).\n\nIntegrate with the Jetpack Telecom library\n------------------------------------------\n\nTo support answering and controlling calls on Android Auto, your app must\nintegrate with the Telecom Jetpack library as described in\n[Build a calling app](/develop/connectivity/telecom/voip-app). In particular, your app must support the\ncallbacks described in[Remote surface support](/develop/connectivity/telecom/voip-app/telecom#remote-surface-support). Your app must\nalso use it's telecom integration at all times, not just when a user's phone is\nrunning Android Auto.\n| **Important:** Additional requirements for your app's telecom integration will be provided in this guide soon.\n\nBuild a templated calling experience\n------------------------------------\n\nIn addition to the in-call view that Android Auto provides and which is powered\nby your app's telecom integration, your app can provide a templated experience\nto let users access your app's content on their car screen. For example, your\napp can display a list of contacts with actions to start a call, an agenda view\nof upcoming calls, a call log, and more. While a call is ongoing, Android Auto\nautomatically displays its in-call view for the duration of the call, replacing\nyour app's templated screens.\n\nFollow the guidance in [Use the Android for Cars App Library](/training/cars/apps) and [Add\nsupport for Android Auto to your templated app](/training/cars/apps/auto) to get started\nbuilding your app's templated experience. Then, refer to the guidance on this\npage to understand the specific requirements for calling apps.\n\n### Configure your app's manifest files\n\nTo inform Android Auto of your app's capabilities, your app must do the\nfollowing:\n\n#### Declare category support in your manifest\n\nYour app needs to declare the `androidx.car.app.category.CALLING`\n[car app category](/training/cars/apps#supported-app-categories) in the intent\nfilter of its [`CarAppService`](/reference/androidx/car/app/CarAppService). \n\n \u003capplication\u003e\n ...\n \u003cservice\n ...\n android:name=\".MyCarAppService\"\n android:exported=\"true\"\u003e\n \u003cintent-filter\u003e\n \u003caction android:name=\"androidx.car.app.CarAppService\" /\u003e\n \u003ccategory android:name=\"androidx.car.app.category.CALLING\"/\u003e\n \u003c/intent-filter\u003e\n \u003c/service\u003e\n ...\n \u003capplication\u003e\n\n| **Important:** If your app supports both calling and [messaging](/training/cars/communication/messaging), include both `androidx.car.app.category.CALLING` and `androidx.car.app.category.MESSAGING` `\u003ccategory\u003e` elements in the same intent filter.\n\nDistribute calling apps\n-----------------------\n\nBecause apps that support calling can only be published to Internal Testing and\nClosed Testing tracks on Google Play, you shouldn't promote builds that include\nsupport to Open Testing or Production tracks, as submissions containing builds\non those tracks will be rejected."]]