AutoInput Android Auto hamburger menu

Discussion in 'AutoApps' started by horrorshow21, Jun 20, 2019.

  1. horrorshow21

    horrorshow21 New Member

    Joined:
    Jun 20, 2019
    Messages:
    2
    Likes Received:
    0
    I'm attempting to use AutoInput with Tasker to start the head unit server in Android Auto. I have most of the steps needed however I can't seem to figure the element ID or Text element of the hamburger menu on the main AA page.

    Steps should be:
    • Launch AA
    • Click "hamburger" <-- Missing
    • Click "About"
    • Click 3 dots ("More options")
    • Click "Start head unit server"

    I found a task that uses the Snackbar plugin called Task Assist to query the elements however it does not see the hamburger or the microphone.

    Here is what it found:
    APP NAME
    Android Auto

    APP PACKAGE
    com.google.android.projection.gearhead

    TEXT ELEMENTS - (3 TOTAL)
    1. 1:38
    2. Thursday, June 20
    3. 1:38

    ELEMENT ID's - (3 TOTAL)
    1. com.google.android.projection.gearhead:id/stream_time
    2. com.google.android.projection.gearhead:id/stream_date
    3. com.google.android.projection.gearhead:id/vn_sys_clock

    ELEMENT COORDINATES - (3 TOTAL)
    1. 539,683
    2. 539,961
    3. 69,33
    Screenshot_20190620-144252.png
     
  2. horrorshow21

    horrorshow21 New Member

    Joined:
    Jun 20, 2019
    Messages:
    2
    Likes Received:
    0
    Figured it out. I just ended up finding the coordinates of the menu and using a click point action. I'm sure there may be some pitfalls to doing it this way, like screen rotation but it's working for now.
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Cool :) Glad you got it!
     

Share This Page