################################################################################################################################################### # Navigation Intent # See https://developer.android.com/training/cars/platforms/automotive-os/android-intents-automotive#tbt ################################################################################################################################################### # Please consider URI encoding for input parameters! adb shell am start -a android.intent.action.VIEW -d 'google.navigation:q=Taronga%20Zoo%2C%20Sydney%20Australia' \\ -p com.google.android.apps.maps --ez noconfirm true ################################################################################################################################################### # Search Intent # See https://developer.android.com/develop/devices/assistant/intents-assistant-nav-app#search-intent ################################################################################################################################################### # Please consider URI encoding for input parameters! adb shell am start -a android.intent.action.VIEW -d 'geo:0,0?q=restaurants+nearby' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=select_search_result\&id=0' If search results are shown on screen, starts navigation to the nth one based on the ID parameter provided. # Note the index is 0-based (that is, geo.action:?act=select_search_result\&id=0 will select the first result in the list). # Please consider URI encoding for input parameters! adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=select_search_result\\\&id=1' \\ -p com.google.android.apps.maps --ez noconfirm true ################################################################################################################################################### # Custom Action Intents # See https://developer.android.com/develop/devices/assistant/intents-assistant-nav-app#custom-action-intent # and https://developer.android.com/training/cars/platforms/automotive-os/android-intents-automotive#action-intents ################################################################################################################################################### # 'geo.action:?act=mute' Mutes all navigation voice guidance. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=mute' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=unmute' Unmutes navigation voice guidance. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=unmute' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=show_traffic' Shows traffic lines on the map. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=show_traffic' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=hide_traffic' Hides traffic lines on the map. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=hide_traffic' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=show_satellite' Shows satellite imagery on the map. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=show_satellite' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=hide_satellite' Hides satellite imagery on the map. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=hide_satellite' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=go_back' Google Maps steps back to the previous screen in the UI. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=go_back' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=avoid_tolls' If the user is navigating, tells Google Maps to avoid routes with tolls. # This may result in a reroute if the current route has tolls. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=avoid_tolls' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=allow_tolls' If the user is navigating, tells Google Maps to allow routes with tolls. # This may result in a reroute if allowing tolls results in a better route being available. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=allow_tolls' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=avoid_ferries' If the user is navigating, tells Google Maps to avoid routes with ferries. # This might result in a reroute if the current active route has ferries. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=avoid_ferries' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=allow_ferries' If the user is navigating, tells Google Maps to allow routes with ferries. # This might result in a reroute if allowing ferries results in a better route being available. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=allow_ferries' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=avoid_highways' If the user is navigating, tells Google Maps to avoid routes with highways. # This might result in a reroute if the current active route has highways. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=avoid_highways' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=allow_highways' If the user is navigating, tells Google Maps to allow routes with highways. # This might result in a reroute if allowing highways results in a better route being available. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=allow_highways' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=exit_navigation' Exits navigation. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=exit_navigation' \\ -p com.google.android.apps.maps --ez noconfirm true ################################################################################################################################################### # Speech output ################################################################################################################################################### # 'geo.action:?act=query_next_turn' Google Maps speaks the next turn (only works while navigating). adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=query_next_turn' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=distance_to_next_turn' Google Maps speaks the distance to next turn (only works while navigating). adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=distance_to_next_turn' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=time_to_next_turn' Google Maps speaks the time to next turn (only works while navigating). adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=time_to_next_turn' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=distance_to_destination' Google Maps speaks the distance to the destination (only works while navigating). adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=distance_to_destination' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=query_current_road' Google Maps speaks the current road. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=query_current_road' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=query_destination' Google Maps speaks the destination. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=query_destination' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=eta' If the user is navigating, Google Maps speaks the estimated time of arrival of the destination (for example, 9:15 am). adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=eta' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=time_to_destination' If the user is navigating, Google Maps speaks the expected time to the destination (for example, 15 minutes). adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=time_to_destination' \\ -p com.google.android.apps.maps --ez noconfirm true ################################################################################################################################################### # For electric vehicle builds only # Assure ("$ adb shell cmd car_service get-property-value 0x11410105") INFO_FUEL_TYPE includes ELECTRIC ################################################################################################################################################### # 'geo.action:?act=apply_electric_vehicle_connector_filter' Applies connector type filter for electric vehicle charging station search results. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=apply_electric_vehicle_connector_filter' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=remove_electric_vehicle_connector_filter' Removes connector type filter for electric vehicle charging station search results. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=remove_electric_vehicle_connector_filter' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=apply_electric_vehicle_payment_filter' Applies payment filter for electric vehicle charging station search results. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=apply_electric_vehicle_payment_filter' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=remove_electric_vehicle_payment_filter' Removes payment filter for electric vehicle charging station search results. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=remove_electric_vehicle_payment_filter' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=apply_electric_vehicle_fast_charging_filter' Applies fast charging filter for electric vehicle charging station search results. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=apply_electric_vehicle_fast_charging_filter' \\ -p com.google.android.apps.maps --ez noconfirm true # 'geo.action:?act=remove_electric_vehicle_fast_charging_filter' Removes fast charging filter for electric vehicle charging station search results. adb shell am start -a android.intent.action.VIEW -d 'geo.action:?act=remove_electric_vehicle_fast_charging_filter' \\ -p com.google.android.apps.maps --ez noconfirm true