MAUI - Android Auto - How To #33111
Replies: 2 comments 1 reply
-
|
Testing: Install Android Studio
Open adb Run Desktop head unit it should say: Not working? Run the Android Auto on mobile phone
Open the App on your phone, the screen should blink and the app should show in the Android Auto. For more information, check this discussion topic, where all the resources where shared. Sharing the knowledge on behalf of Codeks Smart House App, Jantar. |
Beta Was this translation helpful? Give feedback.
-
|
Current problem is "Unavailable, for your safety. This activity is not available while driving.". Although we followed the steps described and tested many other solutions found online, the app was approved by Google for Android Auto but still does not work while driving. Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
-
1 Modify AndroidManifest - In the tag add support for Android Auto
2 Add automotive_app.xml in Platforms/Android/Resources/xml
3 Add AndroidAutoReceiver.cs in Platforms/Android/Auto
which you use in MainActivity.cs
4 Add Sessions/CarSession.cs in Platforms/Android/Auto/Sessions
5 Add CarService.cs in Platforms/Android/Auto/Services
6 Add MainScreen.cs in Platforms/Android/Auto/Screens
7 Add GridTemplateScreen.cs in Platforms/Android/Auto/Screens
8 Add GridTemplateScreen.cs in Platforms/Android/Auto/OnClickListeners
9 Add ActionOnClickListener.cs in Platforms/Android/Auto/ActionOnClickListener
Beta Was this translation helpful? Give feedback.
All reactions