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

recipe for target 'broadcom/bcm2711-rpi-4-b.dtb' failed

I am trying to build an Android Automotive OS for Rpi 4b image following this post by Snapp Automotive When I try to build the RPi kernel, running ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- DTC_FLAGS=”-@” make broadcom/bcm27 11-rpi-4-b.dtb throws…
Arka Prava Basu
  • 2,366
  • 3
  • 18
  • 34
2
votes
2 answers

Issue while integrating car-ui-lib

i want to integrate car-ui-lib into my project. i manually create Android.mk in (src/main/jni) file from this google git After i build my project the android studio create cpp folder and add my Android.mk file there by using this piece of code in…
2
votes
2 answers

How to get permission for Driver Distraction optimized?

I want to code an automotive app which should simply display a map while the user is driving. I am developing with Android Studio 4.0.1 and in Kotlin. In order to create an emulator for testing, I used Android Studio 4.2 Beta 1 to download an…
Hahnawaggl
  • 21
  • 3
2
votes
0 answers

Adb: How to setup dns servers?

I need to configure network on an android automotive though the usb0 interface in static ip so I configured the network like that: ifconfig usb0 192.168.1.137 ifconfig usb0 down iptables --flush iptables -A OUTPUT -o usb0 -p all -j ACCEPT iptables…
d.cruveiller
  • 113
  • 7
2
votes
0 answers

ASOP Automotive build stuck on boot, complaining about package_native

I'm trying to run an build ASOP (with automotiv/car related packages included) on a ARM64 device. I've already managed to build and run Android 11 on the device without the car parts. Building and starting the device with the car parts included…
2
votes
1 answer

File "device/generic/goldfish/tools/mk_combined_img.py", line 48 print "'%s' cannot be converted to int" % (line[2])

When compiling Android Automotive OS on Arch Linux using this guide you might get an error like this on the last stage of compiling: FAILED: out/target/product/generic_x86_64/system-qemu.img /bin/bash -c "(export SGDISK=out/host/linux-x86/bin/sgdisk…
2
votes
1 answer

Two same icons for one application after run

I am developing an Automotive OS Media app, but for my project, I always get two same icons on my emulator after running. Since my project is an Automotive OS app, there is no android.intent.action.MAIN and android.intent.category.LAUNCHER - I mean,…
dingjia_li
  • 21
  • 1
2
votes
1 answer

Android Automotive supporting Android Auto & CarPlay

I'm working on an infotainment system for car's and I've flashed Google's Android Automotive pulled from master branch of AOSP to my hardware. I wanted to know if anybody is working on something similar and has manage to get Android Auto and CarPlay…
jumli
  • 88
  • 1
  • 6
2
votes
1 answer

How does Android Automotive retrieve obd2 data?

I just want to comprehend how Android Automotive handles obd2 data. I discovered the following sources where a BluetoothConnection seems to be a part of their OBD2 api - and this confuses me, because why does Android Automotive need a Bluetooth…
icouldin
  • 205
  • 2
  • 12
2
votes
1 answer

Android Studio Car API

Im trying to add android.car API to Android Studio project. Since car classes are not available by default with sdk, i've done mm in .../car-lib and copied generated android.car.jar to app/libs and then right click on this in AS and -> Add as a…
Qivi
  • 31
  • 1
  • 6
1
vote
0 answers

Android Auto getting data about car

I'm trying to display all possible information about vehicle when android auto is connected to my android app. Unfortunately I get nulls everywhere. I'm using Desktop Head Unit emulator and actual mobile device. I also tested app on real vehicle,…
SMGhost
  • 3,867
  • 6
  • 38
  • 68
1
vote
1 answer

How to set appCategory to poi for automotive projects in the manifest file using android studio

I wanted to know what is the appCategory required for POI based automotive apps as there is no specified appCategory mentioned in the developer documentation I tried changing the appCategory to maps and CarAppService to POI as suggested in the…
1
vote
1 answer

How to read handbrake and PropertyIds from Android Auto?

I have experience with Android automotive and i was able to receive PropertyIds like handbrake, rpm and other stuff perfectly. Now i want to do the same with Android Auto only, i know it's possible because Waze do it perfectly, it detects the state…
1
vote
1 answer

What is a half-list template in Car app for Android?

What is a half-list template in Car app for Android? The description here says that the addAction cannot be used on half-list template. Could someone help me in this?
1
vote
0 answers

Why intent-filter action not get recognized when pushing to priv-app?

I am working on a system app (system/priv-app/). When I add a new intent filter action to one of activity in AndroidManifest and push the new apk to priv-app and try to launch that activity with adb shell (also from thirt party app), I get Error:…
Shijil
  • 2,226
  • 18
  • 33
1 2
3
12 13