Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trải nghiệm gọi điện đang ở giai đoạn thử nghiệm
Hiện tại, mọi người đều có thể phát hành ứng dụng liên lạc có trải nghiệm gọi điện trên các kênh thử nghiệm nội bộ và thử nghiệm khép kín trên Cửa hàng Play. Chúng tôi sẽ cho phép phát hành lên kênh kiểm thử công khai và kênh phát hành công khai sau này.
Để hỗ trợ việc trả lời và kiểm soát cuộc gọi trên Android Auto, ứng dụng của bạn phải tích hợp với thư viện Telecom Jetpack như mô tả trong phần Tạo ứng dụng gọi điện. Cụ thể, ứng dụng của bạn phải hỗ trợ các lệnh gọi lại được mô tả trong phần Hỗ trợ giao diện từ xa. Ứng dụng của bạn cũng phải luôn sử dụng tính năng tích hợp dịch vụ viễn thông, chứ không chỉ khi điện thoại của người dùng đang chạy Android Auto.
Tạo trải nghiệm gọi theo mẫu
Ngoài chế độ xem trong cuộc gọi do Android Auto cung cấp và được hỗ trợ bởi tính năng tích hợp viễn thông của ứng dụng, ứng dụng của bạn có thể cung cấp trải nghiệm theo mẫu để cho phép người dùng truy cập vào nội dung của ứng dụng trên màn hình ô tô. Ví dụ: ứng dụng của bạn có thể hiển thị danh sách người liên hệ cùng với các thao tác để bắt đầu cuộc gọi, chế độ xem lịch biểu của các cuộc gọi sắp tới, nhật ký cuộc gọi, v.v. Khi cuộc gọi đang diễn ra, Android Auto sẽ tự động hiển thị chế độ xem trong cuộc gọi trong suốt thời gian cuộc gọi, thay thế màn hình mẫu của ứng dụng.
Vì chỉ có thể phát hành các ứng dụng hỗ trợ tính năng gọi lên kênh Thử nghiệm nội bộ và kênh Thử nghiệm khép kín trên Google Play, nên bạn không nên quảng bá các bản dựng có hỗ trợ tính năng này lên kênh Thử nghiệm công khai hoặc kênh Phát hành công khai, vì các bản gửi chứa bản dựng trên các kênh đó sẽ bị từ chối.
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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."]]