UI interaction - click & identify in-app notworking

Lucy1951

New member
Hi there

I'm trying to help my mum who's elderly and unable to move by setting up a device that will automate a few simple tasks.

I'm trying to record a macro that launches an app and then within the app the UI interaction clicks on a 'start now' button from a pop up notification to allow me to screen mirror so I can launch media apps for her but for some reason it's not working. I am struggling with the UI interaction of click & identify in app. PLS forgive me as I'm very new to this and no doubt there will be heads shaking at my screen shots.

can someone help? Or is there a template I can use or another better way

View attachment Screenshot_20240327-225838.png

View attachment Screenshot_20240327-225838.png
 
Last edited:

Lucy1951

New member
Just deleted the constraint and tried but still didn't work. I have also tried by disabling some of the actions but still doesn't work. See 2 screen shots attached.

I'm unsure if it's because I get 2 notifications? 1 to open the app and once the app is open the 2nd to notification to start now?

The app launches fine from the first notification but the second notification comes up but disappears so I can only assume it was clicked by the macro but I can't screen mirror on my second device. As a test, if I disable the macro and manually open the app and select the second notification of 'start now' the images come through fine ie the screen mirroring works on my second device.
Screenshot_20240328-014248 (1).png
 

Attachments

  • Screenshot_20240328-014031 (1).png
    Screenshot_20240328-014031 (1).png
    80.2 KB · Views: 5

Dev777

Active member
To click START NOW. Use this instead
 

Attachments

  • Screenshot_20240327-210727_crDroid Home.png
    Screenshot_20240327-210727_crDroid Home.png
    86.7 KB · Views: 8
  • Screenshot_20240327-210912_crDroid Home.png
    Screenshot_20240327-210912_crDroid Home.png
    120.5 KB · Views: 8

Lucy1951

New member

adb shell cmd appops set <your.package.name> PROJECT_MEDIA allow
Thanks Jacob. Is there a way without having to root the device? I prefer to avoid this as I'm not tech savvy.
 

Endercraft

Moderator (& bug finder :D)
No root needed. It's the same process as the ADB hack (look for the thread in the help and troubleshooting forum) but with a different command.
 

Lucy1951

New member
No root needed. It's the same process as the ADB hack (look for the thread in the help and troubleshooting forum) but with a different command.
Hi Endercraft I can't find the correct thread in the forum. Did you find it? Are you able to help?
 
Top