Skip to content

Commit

Permalink
Merge pull request #1536 from openaps/revert-1533-revert-1532-master
Browse files Browse the repository at this point in the history
Revert "Revert "update Android Auto documentation""
  • Loading branch information
peterleimbach committed May 7, 2023
2 parents 8c017ca + 67e0ce9 commit 3b60b45
Show file tree
Hide file tree
Showing 16 changed files with 58 additions and 22 deletions.
80 changes: 58 additions & 22 deletions docs/EN/Usage/Android-auto.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,83 @@
# Android Auto

![AAPS CGM data on Android Auto](../images/AndroidAuto_05.png)
AAPS is capable to send you information about your actual state as message directly into Android Auto in your car.

## Requirements

AAPS uses a feature von Android Auto which allows messages from apps on the mobile to be routed to the display of Auto Audio in the car.

That means that
a) you must configure AAPS to use system notifications for alerts and notifications and
b) as AAPS is an unoffical App allow the use of "unknown sources" with Android Auto.

![AAPS CGM data on Android Auto](../images/android_auto_01.png)

(Android-auto-AAPS-settings-for-android-auto)=

## AAPS settings for Android Auto
## use system notifications in AAPS for alerts and notifications

Open 3-dot-menu on top right of home screen and selecting **Preferences**

Use system notifications for alerts and notifications:
* Open 3-dot-menu on top right of home screen and selecting **Preferences****Local Alerts** ➜ and activating **Use system notifications for alerts and notifications**
![Use system notifications for alerts and notifications](../images/android_auto_02.png)

![Use system notifications for alerts and notifications](../images/AndroidAuto_01v2.png)
In **Local Alerts** activate **Use system notifications for alerts and notifications**

![Use system notifications for alerts and notifications](../images/android_auto_03.png)

Please check now that you get notifications from AASP on the mobile before you walk to your car!

![Use system notifications for alerts and notifications](../images/android_auto_04.png)

(Android-auto-AAPS-settings-in-android-auto-app-on-your-phone)=

## Settings in Android Auto app on your phone
## allow the use of "unknown sources" with Android Auto.

As AAPS is no official Android Auto app notifications have to be activated in Android Auto.
As AAPS is no official Android Auto app notifications have to be activated for "unknown sources" in Android Auto. This is done through the use of the developer mode which we will show you here.

* Open Android Auto app on your phone.
* Tap hamburger menu
* Select settings
* Scroll down all the way to the bottom of the list and tap version no. 10 times until message "Developer mode enabled" is displayed.
Go to your car and connect your mobile with the cars audio system.

![Enable developer mode](../images/AndroidAuto_02.png)
You should now see a screen similar to this screen.

* Open 3-dot-menu on top right corner
* Select "Developer settings"
* Scroll down all the way to the bottom of the list and activate "Unknown sources"
![Enable developer mode](../images/android_auto_05.png)

![Enable unknown sources](../images/AndroidAuto_03.png)
Press on the **setting** icon to start the configuration.

* Now you can quit developer mode if you want. Tap three dots menu on the top right to do so.
Scroll down to the end of the page and select **see more on phone**.

## Show notifications in car
![Enable developer mode](../images/android_auto_06.png)

Now on the mobile we will activate the developer mode.

* Tap the bell icon on the lower menu bar in Android Auto in your car
the first screen looks like this.
Scroll down to the end of the page.

![Enable developer mode](../images/android_auto_07.png)

There you see the version of Android Auto listed.
Tap 10 times (in word ten) on the version of Android Auto.
With this hidden combination you are open the developer mode.

![Enable developer mode](../images/android_auto_08.png)

Confirm that you wnat to enable the developer mode in the modal dialog "Allow development settings?".

![Enable developer mode](../images/android_auto_09.png)

In the **developer settings** enable the "Unknown sources".

![Enable developer mode](../images/android_auto_10.png)

Now you can quit developer mode if you want. Tap three dots menu on the top right to do so.

## Show notifications in car

![Bell icon - Android Auto in car](../images/AndroidAuto_04.png)
Tap the **number icon** on the lower right side in Android Auto in your car.

* CGM values wil be shown as follows:
![Bell icon - Android Auto in car](../images/android_auto_05.png)

![AAPS CGM data on Android Auto](../images/AndroidAuto_05.png)
Your CGM value wil be shown as follows.

![AAPS CGM data on Android Auto](../images/android_auto_01.png)

## Troubleshooting:
* If you don't see the notification, check if you [allowed AAPS to show notifications](Android-auto-AAPS-settings-for-android-auto) in Android and if [Android Auto has access rights to notifications](Android-auto-AAPS-settings-in-android-auto-app-on-your-phone).
Binary file removed docs/EN/images/AndroidAuto_01v2.png
Binary file not shown.
Binary file removed docs/EN/images/AndroidAuto_02.png
Binary file not shown.
Binary file removed docs/EN/images/AndroidAuto_03.png
Binary file not shown.
Binary file removed docs/EN/images/AndroidAuto_04.png
Binary file not shown.
Binary file removed docs/EN/images/AndroidAuto_05.png
Binary file not shown.
Binary file added docs/EN/images/android_auto_01.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/EN/images/android_auto_02.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/EN/images/android_auto_03.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/EN/images/android_auto_04.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/EN/images/android_auto_05.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/EN/images/android_auto_06.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/EN/images/android_auto_07.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/EN/images/android_auto_08.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/EN/images/android_auto_09.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/EN/images/android_auto_10.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3b60b45

Please sign in to comment.