Build video apps for Android Automotive OS

In addition to the guidelines described in Build parked apps for Android Automotive OS, there are some requirements specific to video apps.

Mark your app as a video app

To indicate that your app supports video, add an XML file named automotive_app_desc.xml to the res/xml/ directory in your project. In this file, include the following content:

<automotiveApp>
  <uses name="video"/>
</automotiveApp>

Then, within the <application> element of your manifest, add the following <meta-data> element referencing the XML file:

<meta-data
  android:name="com.android.automotive"
  android:resource="@xml/automotive_app_desc"/>

Frequently asked questions

Is Widevine DRM supported?

Yes, Widevine DRM L3 is supported on Android Automotive OS.