Questions tagged [android-automotive]

Android Automotive (not to be confused with Android Auto) is tightly integrated with the features of a car Android-based operating system designed for use directly on vehicle head units as part or all of the vehicle system and/or infotainment functionality (e.g. VMS - Vehicle Map Service , EVS - Exterior View System, IVI - In-Vehicle Infotainment, HVAC - Heating, ventilation, and air conditioning etc.).

Android Automotive (instead of which is not an OS, but just application that provides secondary interface for already existing Android OS) is car-focused version of Android while still giving a similar user experience to android auto.

Android Automotive includes the Android Automotive hardware abstraction layer (HAL) provides a consistent interface to the Android framework regardless of physical transport layer. This vehicle HAL is the interface for developing Android Automotive implementations.

Android Automotive HAL

System integrators can implement a vehicle HAL module by connecting function-specific platform HAL interfaces (e.g. HVAC, EVS) with technology-specific network interfaces (e.g. CAN or LIN bus). Typical implementations may include a dedicated Microcontroller Unit (MCU) running a proprietary real-time operating system (RTOS) for CAN bus access or similar, which may be connected via a serial link to the CPU running Android Automotive. Instead of a dedicated MCU, it may also be possible to implement the bus access as a virtualized CPU. It is up to each partner to choose the architecture suitable for the hardware as long as the implementation fulfills the interface requirements for the vehicle HAL.

More information

Official Documentation

Automotive Device Requirements

194 questions
3
votes
2 answers

Is there any way to handle touch events for surface?

I would like to support map dragging, scaling, etc. in the android-auto (AA) navigation app. Was very excited to read car-lib announce (and a little disappointed about the old androidx-car library remove:). But I was not able to find documentation…
Aleksandr
  • 33
  • 3
3
votes
1 answer

How to convert Normal Android App to Android Auto App?

Hello Android Developers I already have a Navigation Application that is almost completely developed. now, I'd like to make this app work on Android Auto. Of course, for distribution, I will have to do additional work to Google Auto App Guide…
ysbaekFox
  • 93
  • 7
3
votes
1 answer

Android emulator - enable Multi-display under extended controls?

I downloaded and built the android emulator from the official repo, following https://android.googlesource.com/platform/external/qemu/+/refs/heads/emu-master-dev#welcome-to-the-android-emulator I am trying to get the option to add multiple displays…
nightfixed
  • 871
  • 1
  • 12
  • 24
3
votes
1 answer

I have an issue regarding Android Auto media duration feature

I just developed media application with android automotive support everything is working fine but i have an issue with new design of automotive OS like in previous design there is no duration for media streams but now they added duration of a media…
3
votes
1 answer

How can I run an Android Automotive OS app from Android Studio?

I am trying to run an Android Automotive OS app in the emulator from Android Studio. When open an Android Automotive OS project in Android Studio and click on the run button, I get the following error: Error running 'automotive': Default Activity…
Oscar Wahltinez
  • 1,155
  • 3
  • 12
  • 24
2
votes
1 answer

Can't use Android Auto 'android.car' library - throws RuntimeException: Stub

I'm trying to read the Outside Temperature Sensor from cars running Android Auto and Android Automotive. In order to read the SENSOR_TYPE_ENV_OUTSIDE_TEMPERATURE using the CarPropertyManager I need to include the android.car library. However when…
David Luhmer
  • 75
  • 1
  • 4
2
votes
1 answer

How do I fix "System requires update" when trying to run a Car App Library app on the Android Automotive OS emulator?

I've followed the steps in https://developer.android.com/training/cars/apps/automotive-os to add support for Android Automotive OS, but when I try to run the app or open it for the launcher, I get the following screen: How do I fix this and get my…
Ben Sagmoe
  • 440
  • 2
  • 9
2
votes
0 answers

Android servicemanager.cpp: servicemanager: Could not find in the VINTF manifest

I'm trying to develop a native application inside Android based on VHAL EVS documentation: https://source.android.com/docs/devices/automotive/camera-hal I'm using x86_64 emulator target. Lunch target is sdk_car_x86_64-userdebug, and I'm using the…
2
votes
0 answers

Using NavigationManager functionality without integrating Cars App library (androidx.car.app)

I'm developing a navigation app without the use of templates which are provided by integrating the Android for Cars App Library (https://developer.android.com/jetpack/androidx/releases/car-app). I want to provide navigation/trip information to the…
Wexlajs
  • 21
  • 1
2
votes
0 answers

Automotive app crashes when clicking in searchfield after started typing

I have a problem with the keyboard/softinput in my Android Automotive application. I am using the SearchTemplate, and when I click in the search field after typing some letters, the app crashes. It happens if I click the magnifier-icon, or the…
Ank
  • 71
  • 6
2
votes
1 answer

What APIs of Vechile are included in GAS(Google Automotive Services)

About GAS, there is very little information that can be found. I don't know what API definitions and support it has done for Vechile. Where can I find the function list and integration plan. Only support…
AnswerZhao
  • 366
  • 3
  • 13
2
votes
4 answers

android.car package is unavailable in Android Studio

Unable to access to android.car package. After adding useLibrary 'android.car' to build.gradle of app module it started building and running on emulator, but Android Studio still unable to access and/or show them. import android.car.Car import…
Sever
  • 2,338
  • 5
  • 35
  • 55
2
votes
1 answer

What are the differences between Android Automotive, Android Auto, and Android for mobile phones?

What are the differences between Android Automotive, Android Auto, and Android for mobile phones (from a user perspective and architecturally / technically)?
geethuth
  • 91
  • 1
  • 2
  • 10
2
votes
0 answers

How get SystemUI components replaced by CarSystemUI components in Android 12

Android 12 provides for example a specific implementation for the "Toast" for the car device. The source code of this can be found here: CarToastUI. This class extends ToastUI, which can be found here: ToastUI. When a "car device" is built from the…
tellob
  • 1,220
  • 3
  • 16
  • 32
2
votes
1 answer

Building custom kernel for android emulator

I'm trying to build an AVD image with custom kernel for android emulator, following instructions at https://source.android.com/devices/automotive/start/avd/android_virtual_device The problem is that the emulator only displays black screen when using…
wekso
  • 39
  • 7
1
2
3
12 13