AutoInput Android 7 uiquery not working

Discussion in 'AutoApps' started by Cwatson, Dec 30, 2016.

  1. Cwatson

    Cwatson New Member

    Joined:
    Dec 30, 2016
    Messages:
    3
    Likes Received:
    0
    Hi, i mistakenly upgradrd my lg g5 to android 7 today. None of the tasks that use uiquery are working.
    Task for example:
    Wait 1 sec
    Uiquery with app package set
    Split aitext
    Do some stuff

    Either nothing is returned or sporadically it will work depending on the app i am in.
     
  2. Cwatson

    Cwatson New Member

    Joined:
    Dec 30, 2016
    Messages:
    3
    Likes Received:
    0
    Also. When it fails i get a "no active window" error
     
  3. Cwatson

    Cwatson New Member

    Joined:
    Dec 30, 2016
    Messages:
    3
    Likes Received:
    0
    The problem was that certain apps are not returning focus correctly. If I set a task to run using my volume key for instance, after the volume control window comes up, focus is not returned to the foreground app. The same thing happens when using autoinput to push "back". Calling an app launch in tasker before using ui query or doing anything fixes it.
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Yeah, that's weird. Thanks for the report. I'll try to find a workaround.
     

Share This Page