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.).

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Player controls not showing up in Android Auto

I have setup the mediasession, along with the playbackstate, metadata and callback. mediaSession = MediaSessionCompat(this, "MusicService") .apply { setSessionActivity(...
Ian Lee's user avatar
  • 91
-1 votes
0 answers
12 views

Infotainment testing from Laptop ( Mac) Android auto testing from laptop

I wanted to know How we can connect infotainment system to laptop. I wanted to test android auto functionality of infotainment on laptop by writing robot python test cases on maps,music etc. So wanted ...
Vishruth's user avatar
3 votes
0 answers
34 views

Android Auto Car Sensors: unavailable when testing on a real car

I'm using Car Sensors library from androidx.car. I retrieve car sensor data with listeners inside an onGetTemplate() of a MainScreen with a carContext. try { createCompassListener()...
Jolly Wojak's user avatar
1 vote
2 answers
121 views

Update data from the Mobile App to the Android Auto app

I was following this codelab Here as you can see there's a common Repository to share between the Mobile App and the Android Auto app (that runs in the DHU). I was wondering how to update a e.g a ...
ruben's user avatar
  • 1,710
2 votes
1 answer
54 views

TabTemplate example in android automotive OS

Any one have any idea to make Tab layout functionality in android automotive OS
maveric's user avatar
  • 209
0 votes
0 answers
12 views

How to control system bars behaviour

Visibility, placement and roles of system bars can be controlled using RRO in config.xml <bool name="config_enableTopSystemBar">true</bool> <integer name="...
chgans's user avatar
  • 1
3 votes
0 answers
24 views

AAOS Heads-up notifications throttling and suppression - What is that?

In Android Automotive 14 release notes there is one item: Heads-up notifications (HUN) throttling and suppression. Developed an OEM-configurable mechanism to prevent the overlapping on HUNs and the ...
Eduard Paul's user avatar
2 votes
0 answers
35 views

How Templates from Android for car app library addresses layout on multiple devices/infotainment-systems?

We built our Automotive app with custom UI instead of the templates. List of templates available there are not enough to offer the services we want to, to the user. Also our features list does not ...
cgr's user avatar
  • 4,598
0 votes
1 answer
129 views

"Google Play services are updating" on Android Automotive Emulator

I'm creating custom map app for Android Automotive. Currently I'm facing below errors related with Google Play Services. Could someone teach me resolution for this problem? Using below environment. ...
Sou's user avatar
  • 1
0 votes
0 answers
20 views

Does AAOS (Android Automotive OS) supports VSOCK communication to transmit data between VMs?

I am looking for APIs which I can use for writing android service to receive/transmit data while AAOS is running as a VM with another Ubuntu-VM. The Ubuntu-VM already has native support for virtio-...
ashish's user avatar
  • 409
0 votes
0 answers
43 views

How do I launch the Maps application as full-screen in Android Automotive 12 and later?

In Android 11, the map application could be shown as a portion of the home screen or in full screen mode (with nothing but the top and bottom system bars so the maps app got most of the screen real ...
fury's user avatar
  • 375
0 votes
0 answers
34 views

How to access Android Automotive OS emulators data/data folder in mac?

I cannot access the data/data folder where my application package exists in the Android Automotive OS emulator. If I go in Android Studio-->Device Manager-->data->data here my package name ...
RAHUL UMAK's user avatar
  • 2,761
2 votes
1 answer
77 views

How to share AVD system images for others to use for Android 13

I've built an AVD system image by following these steps: repo init -u https://android.googlesource.com/platform/manifest -b android13-release --partial clone repo sync lunch sdk car_arm64-...
Robert Baricevic-Petrus's user avatar
0 votes
0 answers
10 views

How to catch event from the wheel button on Android HeadUnit

I have a case that need to handle the event of wheel button (on the left side of screen). But i am not sure which truly events i can get from where and how to handle because i test some apps, when i ...
january's user avatar
  • 49
1 vote
0 answers
36 views

Android Automotive OS Video

I'm trying to implement simple automotive app where I can display hardcoded video. I checked documentation and there is the automotive app category for that case, but when I look for more code ...
Tom's user avatar
  • 21
0 votes
0 answers
39 views

Android Application, Need to receive the data from Microcontroller

I am working in Cluster Application, where team are sending the data through CAN to Microcontroller installed in my android board, from microcontroller it is transferring to Processor through UART. I ...
Tousif Akram's user avatar
0 votes
0 answers
31 views

Is there callback received based on periodic subscription or only on change in subscribe() interface in android VHAL?

In Android VHAL, whether the interface subscribe(IVehicleCallback callback, vec options) provides callback to system service only when there is a change or based on subscription frequency if the ...
Nishmitha K's user avatar
0 votes
0 answers
226 views

How to fix "Unknown qemu_device" building Android 13 for Car

I am building Android 13 Lunch 11 AOSP CAR X86_64. However, it fails at 98% with "unknown type qemu_device". I am trying to build branches android-13.0.0_r74, and would need your guidance to ...
HucKQC's user avatar
  • 61
1 vote
0 answers
154 views

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 ...
SMGhost's user avatar
  • 3,927
0 votes
0 answers
37 views

How to enable SD card for Android Automotive OS emulator?

When creating an AVD, I am unable to activate the SD card in the steps below. Device manager -> Create Device -> Automotive(1024p landscape) -> Sv2 API 32 (system image) -> Show Advanced ...
Robert Lee's user avatar
0 votes
0 answers
85 views

Playing live internet radio on Android auto

I'm trying to devlop my own application to play live internet radio on my phone and make it compatible with android auto. So, I started a new project Android auto on last version of Androit Studio (...
Thierry Sombreffe's user avatar
1 vote
1 answer
25 views

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 ...
Shailesh Saindane's user avatar
0 votes
0 answers
40 views

Is there a way to use a personally customized system image in the Android Studio emulator?

I have system image, vendor image, etc. I have customized configuration files used in Android studio virtual device(automotive) sdk. However, if you proceed in the order based on these files, it will ...
강경모's user avatar
0 votes
0 answers
25 views

How to use customized android automotive system image in android studio virtual device?

In the state where files such as system image, vendor image, ramdisk image are already present, Can I use these files to use the system image I have on a virtual device within the android studio ...
강경모's user avatar
0 votes
0 answers
28 views

How to navigate to one module to another in Automotive, One is java module other is kotlin module

here i need to navigate(intent) Java module to kotlin module complete different functionality with two services i used ` <service android:name=".common.PlacesCarAppService" ...
Mahesh Gv's user avatar
  • 974
0 votes
0 answers
39 views

UI to initiate content download in AAOS Media App

I am looking into creating an audio Media App for AAOS. I would like to allow my users to choose to download specific audio tracks. I am having a hard time understanding if this is possible. I found a ...
Dustin's user avatar
  • 419
0 votes
0 answers
25 views

Audio decode in Android Automotive

In Android Automotive OS, Question#1) where compressed audio (ex. mp3) get decoded in generally ? I think there is two ways. Decode in Android Framework layer in MediaCodec Decode in HW DSP (I mean, ...
Minohand's user avatar
1 vote
1 answer
68 views

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 ...
d.cruveiller's user avatar
0 votes
2 answers
198 views

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 ...
Morten's user avatar
  • 694
0 votes
1 answer
144 views

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 ...
QuaanPa's user avatar
0 votes
0 answers
34 views

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 ...
user7893488's user avatar
0 votes
0 answers
102 views

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 ...
Ofir A.'s user avatar
  • 3,122
1 vote
1 answer
44 views

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?
Mohamed Siad Z's user avatar
0 votes
1 answer
135 views

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 ...
Mohamed Siad Z's user avatar
0 votes
0 answers
76 views

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? ...
sd4664's user avatar
  • 1
2 votes
1 answer
440 views

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 ...
David Luhmer's user avatar
0 votes
1 answer
66 views

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 ...
Manky's user avatar
  • 1
0 votes
2 answers
326 views

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 ...
Oleh Liskovych's user avatar
0 votes
0 answers
64 views

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 "...
SoulaimenK's user avatar
1 vote
0 answers
51 views

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 ...
Shijil's user avatar
  • 2,226
0 votes
1 answer
191 views

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 ...
cogle's user avatar
  • 1,027
0 votes
0 answers
75 views

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 ...
MihaiMacarie's user avatar
0 votes
0 answers
92 views

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 ...
Slobodan Prijic's user avatar
1 vote
1 answer
102 views

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 ...
sneakyMan's user avatar
0 votes
0 answers
28 views

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 ...
jason's user avatar
  • 1
0 votes
0 answers
125 views

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 ...
Encipherer's user avatar
0 votes
0 answers
158 views

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 ...
Brian's user avatar
  • 26
2 votes
1 answer
186 views

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 ...
Ben Sagmoe's user avatar
1 vote
1 answer
221 views

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 ...
Ben Sagmoe's user avatar
0 votes
0 answers
57 views

Car Object is not ready on some devices Even though App is using Car.CAR_WAIT_TIMEOUT_WAIT_FOREVER for createCar

Car.createCar( context, null, Car.CAR_WAIT_TIMEOUT_WAIT_FOREVER, ) { carObj, carReady -> if (carReady) { Log.d("TAG"...
Chetan Ansel's user avatar