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
1
vote
1 answer

Rotating Emulator Window while replaying Location Routes

ive noticed that the window of my Android Emulator will rotate while im replaying a route from the Emulator Menu. The window rotation matches the bearing of the GPS signal. Ive confirmed this is happening with all of the emulators that are custom…
1
vote
1 answer

How can I determine which AAOS vehicles support apps built using the Android for Cars App Library?

While building an app using the Android for Cars App Library, I noticed that not all of the vehicles running Android Automotive OS with Google-built in are compatible with my app. How can I tell which vehicles can run my app? I tried looking for a…
Ben Sagmoe
  • 440
  • 2
  • 9
1
vote
1 answer

Difference of Android Automotive an Google built-in

I recently read that Google calls "Android Automotive OS" now "Google built-in". On some different articles i read that it's still called AAOS and Google built-in is only used for the Google Services(Play Service, Maps etc.) that you can use if you…
1
vote
0 answers

How does an oauth2 Workflow function in AAOS

I'm developing my first AAOS (and even Android) app, so bear with me if there are any noob errors. So my intention is to develop an app for a music streaming service that has a public API and uses oauth2 for authentication. My first idea was to…
1
vote
1 answer

How to add more Content in specific Templates (Android Automotive)?

So i am currently playing around with Android Automotive and was trying out different Templates. Now i found out that the content limit of different Templates is restricted by the Host-Vehicle. For Example the ListTemplate only allows 6…
froots
  • 53
  • 3
1
vote
1 answer

Is there a way to read/write directly from/to the can-bus in android automotive?

Assume I have a vehicle containing a screen that is connected to the vehicles can-bus and that the screen is using the android automotive OS. Disregard Google play store. Is it possible to create a third party app for android automotive that can…
Achivai
  • 13
  • 4
1
vote
1 answer

Default measurement system in Android

I'm struggling with setting units in the Android build by default. It's Android Automotive OS 13. Because of def_device_provisioned=true and def_user_setup_complete=true, a user is not asked for personal preferences (which is intended). In my…
Kaskader
  • 191
  • 2
  • 2
  • 11
1
vote
1 answer

Include aar link in Android.bp file AOSP

I am facing an issue with Android.bp file inside the prebuilts/sdk/current. I am able to include the file after downloading the aar file. But my requirement is to include the aar file link in the bp file. The code snippet from the bp file is…
1
vote
1 answer

How to get notified if the user updated the app right after the app update?

The main goal is to get notified about the app getting updated and restart a service after app update. Having a BroadcastReceiver and listening to Intent.ACTION_PACKAGE_REPLACED  to start my service when the app gets updated. And I get the following…
Morteza Rastgoo
  • 6,772
  • 7
  • 40
  • 61
1
vote
1 answer

Desktop Head Unit (DHU): how to mock sensors data

Am trying to listen for sensor changes of Android auto through Desktop Head Unit with the following code val carHardwareManager = CarHardwareManager.create(carContext, HostDispatcher()) val sensors = carHardwareManager.carSensors …
Hussien Fahmy
  • 1,119
  • 6
  • 24
1
vote
0 answers

Android head Unit not able to control volume programmatically

I installed NIPPON NDROID 9PRO 9.1Inch Android 10.1(MCU:T3L) Car Multimedia Player and Alpine external speakers in my vehicle. But not able to control volume programmatically. I used this code to control…
1
vote
2 answers

Does Android Automotive support Jetpack Compose?

We are trying to publish an Android Automotive app, but have some issues extending the CarAppService. Disclaimer: I am very new to Android Automotive, so there might be an obvious answer to this question. The code we are working on was developed by…
1
vote
2 answers

React-native for Android Automotive

This seems like a plain enough question, but I genuinely cannot find a straight answer anywhere else. IS it currently possible to use React Native to develop native apps runnable in Android Automotive?
csvan
  • 8,782
  • 12
  • 48
  • 91
1
vote
1 answer

Android Automotive OS (API 31+) on Raspberry Pi stuck on startup

I am trying to build an Android image for Raspberry Pi 4B with Android Automotive OS instead of the usual Android. Following the instructions on this repository worked from the repo sync down to the generated files I have to put onto my SD card. The…
1
vote
1 answer

How to change the limit on the number of list templates in the AAOS car-app

When I run the code below, the maximum number of lists is limited to 6, is there any way to change this? listLimit = getCarContext().getCarService(ConstraintManager.class).getContentLimit( ConstraintManager.CONTENT_LIMIT_TYPE_LIST); As in the…
hwany
  • 13
  • 3