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
0
votes
1 answer

MediaBrowserServiceCompat on Android Automotive stuck in "Loading content..."

I am trying to build a media application for Android Automotive (not to be confused with Android Auto!). It is an application which can be installed directly on car hardware. Anyways: When I launch the application in the Polestar 2 emulator (or in…
Morten
  • 684
  • 1
  • 5
  • 15
0
votes
1 answer

How to detect if Android Head Unit is connected to Android Auto

I am making a media app for Android Head Unit that should check the connection if the car is connected to an Android Auto. Is there a way for my app to detect if it is is connected to Android Auto? Is it possible for Auto media apps to detec Android…
0
votes
0 answers

What view/template to use to play a video on Android Automotive?

I'm playing around with Android Automotive (NOT Android for Cars!) and I'm looking for an alternative to VideoView, which isn't available to Automotive. What I want is to play a simple MP4-file, which gets rendered including some nice and neat play…
0
votes
0 answers

Running Android Automotive application on system user (user 0) only

I'm building an Android Automotive system application that doesn't include any UI. This service acts as a local backend/proxy on the device waiting for requests from other applications, making the desired action and return the needed data as a…
Ofir A.
  • 3,112
  • 11
  • 57
  • 83
0
votes
0 answers

How to add an action to a Row in Android for Cars Android Auto?

I wanted to show a list in the Car app Android for Android Auto. The list should contain items with two buttons for separate actions. I tried adding the addAction(), but it doesn't seem to be available in Row Class. Could someone help me build a Row…
0
votes
0 answers

Incorporating a Pre-Built App in an Android Automotive System Image

I'm trying to make an Android Automotive system image and want to include a native pre-built 3rd-party app ("foo.apk"). Is it possible to 'install' foo.apk in an AAOS image as a system app? If so, would the correct place to put it be in…
sd4664
  • 1
  • 2
0
votes
1 answer

Android Automotive app crashes when clicking in Input text field after typing few letters in SigninTemplate

I am facing an issue in my Android Automotive application. I am using the SigninTemplate, and when I click in the input text field after typing few letters, the app crashes. It happens if I click anywhere on the text-field. This only happens if I…
Manky
  • 1
  • 1
0
votes
1 answer

Android Automotive emulator error: The process for AVD has terminated

I can't run Automotive (not Auto) emulator. I tried different images for configuring it. Every time I configure virtual device, its created with just 1MB size. When I create any other phone or tablet virtual devices, there size is bigger than 500…
Oleh Liskovych
  • 991
  • 3
  • 13
  • 31
0
votes
0 answers

Is there a way to enable 'Clear All Notification' button while config_showRecentAndOldHeaders is set to true

I'm working on Automotive AOSP Android 12. I'm trying to enable the button "Clear All Notification" by overlaying the SystemUI config but it seems impossible while "config_showRecentAndOldHeaders = true". Based on what I found under Notification…
0
votes
1 answer

How to install Google maps for Android Automotive sdk_car_x86_64

I have built Android Automotive OS from the AOSP repository. I have built the following: PLATFORM_VERSION=13 TARGET_PRODUCT=sdk_car_x86_64 BUILD_ID=TQ2A.230305.008.F1 Upon launching the emulator for this sdk, I get the following message: No maps…
cogle
  • 997
  • 1
  • 12
  • 25
0
votes
0 answers

How to measure coverage of a libFuzzer fuzzer harness on Android Automotive X86_64 emulator?

I want to measure the code coverage of the libFuzzer fuzzer harness of the CAN hardware interface that comes with the AOSP, written in C++. I've attempted to use the Clang flags that allows that and generate a LLVM profile file, but the file is not…
0
votes
0 answers

Bluetooth device volume control

Some Bluetooth devices connected to Android device for a phone calls (STREAM_VOICE_CALL) accept volume control from the Android app, and some of them don't - especially when a car is connected as Bluetooth device. Also, volume level of BT device on…
0
votes
0 answers

Android Automotive rejection based on not providing login credentials for app with no login

Our app just got rejected, and the only information we are given is that we failed to provide login credentials or a demo account. Despite the restricted content checkbox in Play Console not being checked, as the app has no content locked behind…
0
votes
0 answers

How to Create a seperate and custom ScrollBar with Up and Down Button

Currently I am developing one Android application which works in Android automotive OS. In which I want to show the list of items in RecyclerView. But to scroll the RecyclerView Items I need to have a seperate - Up and Down Button along with the…
0
votes
0 answers

Mechanism of Android Automotive Runtime Resource Overlay

Recently we are trying to find out a way to customize system template themes for our application. As we only consider our application only, not system widely, the RRO seems to be an option. But after reading the documents, I still have questions on…
Brian
  • 26
  • 1