You can find some information in MAUI GitHub discussion. Run https://www.youtube.com/watch?v=nNkVxegb2oU. Take a look at .NET MAUI for cars: Android Auto Tutorial. Good luck.
Adding Android Auto support for an already existing MAUI application
We are integrating some media player functionalities for Android Auto/Cars support with MAUI mobile application.
I am able to play some sample media with .Net MAUI for the Android platform, But when I am giving support for Android AUTO/Cars, I am unable to see anything on the Android DHU(Android AUTO console). I did all the necessary configurations on the manifest file related to metadata with com.google.android.gms.car.application.
Could anyone help here with any samples for getting started with .Net MAUI with a media player for Android AUTO support?
Thanks in Advance.
Developer technologies | .NET | .NET MAUI
2 answers
Sort by: Most helpful
-
-
Lindgren 0 Reputation points
2025-10-19T20:11:39.7366667+00:00 If your goal is to enable Android Auto or Android Automotive support in a .NET MAUI app that already includes media or diagnostic functions, keep in mind that the Auto platform does not render your regular MAUI UI — it only accepts predefined car templates through the AndroidX Car App Library.
Here’s a working direction based on what we’ve implemented successfully:
- Add the CarAppService
<service android:name=".CarAppService" android:exported="true"> <intent-filter> <action android:name="androidx.car.app.CarAppService" /> </intent-filter> <meta-data android:name="androidx.car.app" android:resource="@xml/automotive_app_desc" /> </service>
Create a Session class that defines which template to show (for example, ListTemplate or NavigationTemplate).
Without this, nothing will appear in the Android DHU (Desktop Head Unit).
Set the correct permissions & SDK level:
Target SDK 33+, and include the androidx.car.app:app-automotive dependency.
Testing tip:
Use the DHU or the Android Automotive emulator with developer options enabled.
Ensure the app is installed with the same signing key.
We’ve also documented a working example of integrating Android Auto with vehicle diagnostic and ECU-related apps here:
👉 Android Auto Integration Example for Car Diagnostic Tools (Motologik.com)
That guide includes tested manifest examples, template setup, and common visibility fixes for MAUI + Auto apps.
- Add the CarAppService