Xamarin Android media app showing 2 instances in Android Auto console

KallemSandeep-8232 36 Reputation points
2023-04-13T19:00:36.34+00:00

I am working on a Xamarin Android media app and trying to add support for Android Auto. I have followed the Android Auto guidelines and best practices and have properly configured my app for Android Auto. However, when I test my app on the Android Auto Development Desktop Head Unit (DHU), I see two instances of my app: one for the regular mobile app and another for the Android Auto app. Because of this, when I play audio from my mobile app, it does not play the audio in the Android Auto app. I am not sure what I am missing here. When I play another instance app from Andoird auto, Its playing the audio with the excepected UI but mobile app & Android auto apps were not in sync with each other ? I added below piece of code in the manifest, automotive_app_desc.xml file. **<meta-data android:name="com.google.android.gms.car.application" android:resource="@xml/automotive_app_desc"/>** ** ``** Am I missing anything here. Could you please suggest. Thanks in advance.

Developer technologies | .NET | Xamarin
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.