356 questions
0
votes
0
answers
28
views
Assistance Required for Identifying Persistent Android Auto Device Identifiers Across Connections
We are building an Android application that integrates with Android Auto to provide a tailored user experience based on the connected vehicle. Our goal is to implement a feature that identifies if a ...
0
votes
0
answers
12
views
does exist a way to redirect sound to car without use the media category for car app?
I’m currently using the Messaging category in my Android Auto app to display records (they’re not actual chat messages) that include text and some audio resources. To play the audio, I use the ...
0
votes
0
answers
46
views
Maui Android Auto app using Xamarin Media Manager doesn't launch from car unless launched from app first
We've got a media app which has been made using .net Maui, with the media portion implemented by Xamarin Media Manager. We've made some modifications to fix some issues but for the most part it's as-...
0
votes
0
answers
23
views
What is the best way to play audio resources in a car app?
I am currently developing an app that needs to receive notifications with important information. One of these notifications refers to an audio resource, which I play using a MediaPlayer.
When testing ...
1
vote
1
answer
60
views
How Detect Vehicle Parking for Android Auto App
I’m currently developing an Android Auto app, and I’m using the LongMessageTemplate to display content only when the vehicle is parked, as required by Android Auto guidelines. I Attached a image about ...
1
vote
0
answers
51
views
How to center Google Map content in the visible area without being blocked by UI elements in Android Auto?
I'm working on an Android Auto app using MapWithContentTemplate to display a Google Map. When I move the camera to center the current location, it ends up being covered by UI overlays, like the "...
1
vote
1
answer
63
views
Show notification only on Android Auto, not on the mobile
Can I somehow show the notification only on Android Auto?
What I am using:
//create channel
private val channel = NotificationChannel(channelId, channelName,
NotificationManager.IMPORTANCE_NONE)
...
...
0
votes
0
answers
21
views
How update Car Screen with onNewIntent session method
I am currently sending a CarPendingIntent from a notification action.
Intent responseIntent = new Intent(getApplicationContext(), CarAppService.class);
responseIntent.putExtra(CarAppSession....
0
votes
0
answers
29
views
Is possible Navigate to some car screen from car app notifications?
I've been learning about Android Auto and would like to know if it's possible or recommended to open a car screen from a notification.
I've only seen apps that allow starting text-to-speech or ...
0
votes
0
answers
15
views
How manage Location Permissions with car app
i need fire a request and start a service that send the same request periodically to do a kind of tracking of my current position. All this logic is implemented in my mobile app.
but now I need start ...
0
votes
0
answers
35
views
Separate View and Logic for Android Auto Apps
Hi recently a read that is not necessay create a viewModel for AndroidAuto screens
"Screens are lifecycleOwner but not ViewModelStoreOwner which means that they do not provide a way to manage the ...
0
votes
0
answers
42
views
Load Map with SurfaceRenderer for MapWithContent Template
I am trying to create a surface renderer to display a map that show a route from mi current location to "A" (A is a point with dummy coordinates) but i had not success.
Do you know if exists ...
2
votes
1
answer
66
views
How to show navigation alert in NavigationTemplate (Android Auto)?
The NavigationTemplate documentation declares that "Navigation alerts" can be used to show temporary message with optional actions, etc.: https://developers.google.com/cars/design/create-...
1
vote
1
answer
79
views
Implement MapWithContent for place list and preview Route
Google recently up the beta version of the Car App that deprecate old templates and wrap all in a new one named MapWithContent.
do exist some examples to implement that?
1
vote
1
answer
77
views
Android Auto Car Api Level Distribution
I'd like to use some Android Auto Templates, which are available from newer Car API levels, e.g.:
@RequiresCarApi(7)
MapWithContentTemplate
Currently, my minCarApiLevel is set to 2 and I'm ...
0
votes
1
answer
95
views
Application must hold android.permission.REQUEST_COMPANION_PROFILE_AUTOMOTIVE_PROJECTION connecting to DHU
I have Android 14 set up on a raspberry pi 4b using the konstakang build. It has basic LiteGapps and currently no third party apps. I have the developer modes enabled, head unit server running, and ...
1
vote
1
answer
120
views
Android Auto - CarAppService not showing on car
I am developing an app where I am supposed to render a grid of icons, now the problem is that in the DHU it displays correctly and works, while in the auto it does not display.
This is my manifest:
&...
1
vote
0
answers
43
views
How to create a Google Maps intent including waypoints in Android Auto / Android Automotive
This API allows mobile Android apps to send Intents to Google Maps with several waypoints.
Uri mapIntentUri =
Uri.parse(
"google.navigation:q=Port+Macquarie+NSW"
+ "&...
2
votes
0
answers
550
views
How to Integrate Flutter App with Android Auto and Apple CarPlay?
I'm currently working on an existing Flutter mobile application and I'm looking to integrate it with Android Auto and Apple CarPlay. The app features include a GPS navigation system and a list of ...
0
votes
0
answers
63
views
Flutter project implement CarPlay/Android Auto?
I am trying to find a sample or any project that implements CarPlay and Android Auto in a Flutter environment using native code, but I haven't found any so far. Any recommendations or links would be ...
1
vote
1
answer
102
views
Is there a way to detect legitimate screen mirroring on Android and not Android Auto?
As per the title, is there a way to detect when actual screen mirroring is being performed, and not via Android Auto? Some banking apps detect when mirroring and I realise that they also detect ...
0
votes
0
answers
51
views
Android Auto activate tab content
I'm currently working on integrating the Tab template in Android Auto using the react-native-carplay library. I'm facing an issue with activating the tab content programmatically. Can anyone provide ...
0
votes
1
answer
42
views
Android Auto Change Title Color
I'm new to working with Android Auto and am using react-native-carplay to develop the pane template. I'm having an issue with text styles and don't have any idea how to change the title color. Does ...
0
votes
0
answers
97
views
Testing of "Android for Cars App Library"-Apps
So i am trying to design a small app which just reads out some data regarding the car using the CarInfo module of the "Android for Cars App Library". I did some reading on the topic and ...
0
votes
1
answer
158
views
How can I access the CarContext in a Android Auto Media App?
I am currently building a Radio App for Android Auto and I simply want to send a notification to the screen when a song gets requested.
I'm trying to send a CarToast but it requires a CarContext:
...
0
votes
1
answer
159
views
Open in-app notification settings from inside the app
android.provider.Settings on docs
Is there anyway to open "In-app notification settings" from within my app? Currently I open the app's details page and then I have to click manually:
...
0
votes
1
answer
154
views
How to Detect Android Auto/CarPlay Connection in a Non-Auto App?
I have an app that doesn't have any Android Auto/CarPlay features; in other words, it's an ordinary app that wasn't made to run on Android Auto/CarPlay.
With the code below, I thought I could detect ...
1
vote
1
answer
120
views
Android Auto Application runtime permissions for fuel level from the car sensors
How can I prompt users for runtime permissions for accessing fuel level which is implemented using the Car library? I aim to present a popup for users to allow or deny permission when they first visit ...
0
votes
1
answer
137
views
How to read ODB Data in android auto apps?
i'm currently working on an App that needs access to Car Data like: Energy Level, mileage.
The Android Auto Library has APIs that can be used to access car properties and sensors, but i am not sure ...
0
votes
0
answers
109
views
Request location permission from Android auto
I am adding android auto support in my app. My app requires location permission so trying to request location permission from android auto screen.
according to this guideline grant-permissions-on-...
0
votes
0
answers
323
views
android trout in cvd cannot start graphics
When trying to run default CVD configuration with arm64 trout image on x86 i cannot get graphics to work. I am able to connect to vm via adb, but webRTC interface doesn't work. Logcat mentions this:
...
0
votes
0
answers
62
views
Playing MP3 from res/raw on Vehicle's System in Android Auto App
I'm developing an Android Auto app and trying to play an MP3 file stored in res/raw through the vehicle's audio system. However, the sound is played on the mobile device instead. Library-managed ...
-1
votes
1
answer
300
views
Android Auto implementation for my radio-app
I'm searching for someone who can help me out with Android Auto implementation of my radio-app. Who can help me out pls?
I found out that there are 2 possible solutions:
One via androidx.car.app....
0
votes
2
answers
395
views
How to debug Android Auto app on a real device
My problem is that my Android Auto app behaves differntly on the Desktop Head Unit (Android Auto emulator) and on the real Android Auto device.
I have read this page of documentation, which says that ...
5
votes
0
answers
179
views
Displaying an Android Auto App on a Real Head Unit Without Play Store Listing
This week, I developed an Android Auto app that displays specific numbers retrieved through an API. The app corresponds to the Android Auto Design Guidelines. It functions well within the AA Emulator ...
0
votes
0
answers
86
views
How to open app in mobile from android auto app?
Android auto app should ask user to sign in from phone app so need to add screen in android auto to open sign in activity in app and sign in, if user clicks on sign in button in message screen in ...
1
vote
0
answers
219
views
Android AUTO : Is there a way to stream video on Android Auto ? Like camera feed or conferencing calls?
I am looking into ways of streaming video from an Android app to the infotainment system through Android Auto connection.
I know you can only use the available templates for building the UI, like list,...
0
votes
1
answer
137
views
IllegalArgumentException: Missing required action types: APP_ICON react-native-carplay for android auto
I'm in the process of creating an application for Android Auto using react-native-carplay. Unfortunately, the documentation lacks details on configuring the TabBarTemplate. To work around this, I ...
0
votes
0
answers
66
views
Draw Route fron Point A to Point B in GoogleMap for Android Auto
I'm using Android SDK for maps in my application to render a Map for AndroidAuto inside a SurfaceCallBack. I can draw polilynes (directly), markers, etc. But I need a route from A to B.
This is my ...
0
votes
0
answers
138
views
Implementing Android SDK for maps in android auto
currently I'm using this version of dependency:
implementation ("com.google.android.libraries.navigation:navigation:5.2.0")
And when I try to draw the map
public final SurfaceCallback ...
1
vote
1
answer
376
views
PlaybackState "ACTION_STOP" not working in Android Auto Media App
i'm trying to build a media app for android auto. I have tried to build the app according to official documentation but i've missed/misunderstood some stuffs, probably. I've created a "Playable&...
2
votes
1
answer
339
views
automotive_app_desc not found error Android Auto development
I am using .NET MAUI on Visual Studio. I added the proper meta-data to AndroidManifest.xml and created "automotive_app_desc". Despite everything being done correctly, when I rebuild my ...
0
votes
0
answers
70
views
Android Auto/Automotive, is it possible to integrate in one app multiple categories?
The main thing which i don't understand is about app categories. Is it possible to use in one application multiple categories ?
I must to develop app where i will implement map with some routes and ...
0
votes
0
answers
69
views
Android Auto Error running 'helloworld.mobile': Unable to determine activity name
i'am new to android auto developement so i followed those guide line : https://developer.android.com/training/cars?hl=fr
After that i found out that they had at github with prebuild project to make ...
2
votes
1
answer
374
views
RoutePreviewNavigationTemplate Doesn;t show map and routes
Hi I'm trying to implement RoutePreviewNavigationTemplate but have some troubles:
1.- Routes List is displayed but the map in background is not showed
2.- For this reason i can't draw the route ...
1
vote
1
answer
182
views
Implementing RoutePreviewNavigationTemplate
Hi im Trying to implement a Route Preview with a Dummy Coordinate but I get this Error
FATAL EXCEPTION: main
Process: com.pkg.ir, PID: 23089
java.lang.RuntimeException: java.lang....
0
votes
0
answers
69
views
Troubles implementing - Navigation Templates for Android Auto
Hi im trying to implement a simple list of places with dummy coordinates with "PlaceListMapTemplate" and i need make two things after that
1.- Show a route preview with "...
0
votes
1
answer
64
views
Android Studio - I have troubles implementing one library for Android Car
I'm trying to implement the library 'androidx.car.widget:widget:1.1.0'
I already have the MavenCentral added on my repositories. But always when I try to build my project the library is not found (I ...
0
votes
0
answers
121
views
Android AndroidAuto MapBox
I'm blocked on my Android Auto Application.
I want to add a custom marker to my screen map on Android Auto in the function onGetTemplate()
i using a PlaceListNavigationTemplate .
if someone could help ...
4
votes
1
answer
395
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()...