Building Android Automotive OS™ Parked and Passenger Apps
Automotive parked and passenger apps are intended to significantly enhance the in-car experience during non-driving scenarios. These apps provide entertainment and functionality when the car is stationary, such as at charging stations or while waiting. Many tablet and mobile apps like browsers, games, and video can be migrated to Android Automotive OS with minimal adaptation and shipped to cars as developers do to other large screen devices. This is because the underlying Android framework is similar, allowing developers to reuse much of their existing code. Additionally, since these apps are intended for use when the car is stationary or by passengers, there is no need to implement driver distraction rules, ensuring a seamless and enjoyable experience without compromising safety.
Read more here:
| App Category | Track Type
| Restrictions
|
Parked Apps
| Mobile
| android: required must be "false"
|
Parked Apps
| Android Automotive OS only
| android:required must be "true", "false", or unset.
|
Media and Templated Apps
| Android Automotive OS only
| android:required must be "true", "false", or unset.
|
for more details about the hardware feature check here
also explicitly set features like android.hardware.wifi ,
android.hardware.screen.portrait, and android.hardware.screen.landscape to false to avoid conflicts with available hardware features.
Ensure there are no distraction-optimized activities. To ensure your app is only available for use while parked, don't include the following <meta-data> element in any <activity> element within your manifest:
The metadata below is not allowed !!
<!-- NOT ALLOWED -->
<meta-data
android:name="distractionOptimized"
android:value="true"/>
Video, Games and Browser Apps
In addition to the preceding requirements, which apply to all parked apps, the video, games and browser apps have additional requirements:
For video apps,
For games,
Optimize Your App
Disable Unsupported Features: Some APIs available on other devices might not be available on Android Automotive OS. Disable any features that are not supported
Optimize Design for Large Screens: Adapt your app's design to fit the larger screens found in cars.
Support Multiple Orientations: Make sure your app supports both landscape and portrait orientations.
For more details about the optimization, check here