Macro to Stop Music Playing from APP even after Closing ?

augustya

Member
Your device should be showing a notification which says charge only, you can click that and set it to MTP file transfer. Also it looks like there's a timeout on ADB permissions according to your screenshot
Yes there is a Time Out on ADB Permissions, and where will I see the Notification of Charge only ?
 

augustya

Member
Notification shade, like where other notifications appear

When I click on the Notification area where it shows charging clicking on that does not give me any option infact nothing happens when I click on that. I found there is one area in my Developer Options called Default USB settings when I selected the File Transfer Option in that and ran the .bat file it still did not install adb permissions and gave me the same error message which it gave me in the Command Prompt Screenshot that I posted earlier.
 

Attachments

  • 1633686842587 (1).jpg
    1633686842587 (1).jpg
    145.1 KB · Views: 3

augustya

Member
Also in my notification area I do not see anything.
 

Attachments

  • Screenshot_2021-10-08-15-33-02-476_com.miui.home.jpg
    Screenshot_2021-10-08-15-33-02-476_com.miui.home.jpg
    1.6 MB · Views: 3

augustya

Member
Ok what is happening it seems is the Laptop on which I am connecting the Phone is saying cannot find the driver for your phone device and hence is it not detecting the phone the laptop is not detecting the device (Phone)

Man this thing is so time consuming and pain in the A** lol !
 

augustya

Member
It is again and again giving me the same error message no device/Emulators found despite updating the ADB Driver.

What does it mean ?
 

Jacob L

Moderator (Lawsonator)
It is again and again giving me the same error message no device/Emulators found despite updating the ADB Driver.

What does it mean ?
For some reason your computer is not recognising your device. Does your computer make a sound when you attach the device? does it appear under 'This PC'?
 

Jacob L

Moderator (Lawsonator)
Yes it is Detected under my computer. I can see it when connected via USB.
Just before running the batch, unlock your device and keep the screen on, see if you get a popup asking to confirm permission, tick the box and press ok. If thus does not appear then we need to find out why, I have not come across this issue before
 

augustya

Member
Just before running the batch, unlock your device and keep the screen on, see if you get a popup asking to confirm permission, tick the box and press ok. If thus does not appear then we need to find out why, I have not come across this issue before

This Confirm Permission is not coming up on my Phone always sometimes it does and sometimes it does not wand even when it does and I confirm the permission when I run the .bat files till get the same error no device/Emulators found
 

augustya

Member
Your device should be showing a notification which says charge only, you can click that and set it to MTP file transfer. Also it looks like there's a timeout on ADB permissions according to your screenshot

Ok finally i have been able to install the ADB Permission on my phone along with the Macrodroid Helper.

Now what exact trigger should I keep in this boxes in the screenshot ? Can you please tell me?
 

Attachments

  • IMG_20211009_000424.jpg
    IMG_20211009_000424.jpg
    167.8 KB · Views: 4
  • Screenshot_2021-10-09-00-04-28-234_com.arlosoft.macrodroid.jpg
    Screenshot_2021-10-09-00-04-28-234_com.arlosoft.macrodroid.jpg
    203.6 KB · Views: 4

augustya

Member
My condition is when I swipe away the soundcloud app the sound coming from the app should also stop.
 
Last edited:

FrameXX

Well-known member
Ok finally i have been able to install the ADB Permission on my phone along with the Macrodroid Helper.

Now what exact trigger should I keep in this boxes in the screenshot ? Can you please tell me?

No need to use unreliable logcat. Use app closed trigger. And set notification interaction on BUTTON 2 and allow ANY notification content.
 

augustya

Member
No need to use unreliable logcat. Use app closed trigger. And set notification interaction on BUTTON 2 and allow ANY notification content.
Hey Hi ! is this what you are suggesting to do ?
 

Attachments

  • Screenshot_2021-10-09-12-07-12-074_com.arlosoft.macrodroid.jpg
    Screenshot_2021-10-09-12-07-12-074_com.arlosoft.macrodroid.jpg
    281.3 KB · Views: 4

augustya

Member
No need to use unreliable logcat. Use app closed trigger. And set notification interaction on BUTTON 2 and allow ANY notification content.
No this is not working. It stops the Music when I Test The Macro in the Macrodroid APP but my requirement is when I swipe away the soundcloud App the Music playing from it should also stop which is not happening with what you have suggested.
 

Jacob L

Moderator (Lawsonator)
Hi ! Can you please check my Post #71 what should I have in the Logcat Trigger ?
That depends on the device. Press the capture button and press the red button. Close the music player. Then when you finish press the stop button and choose the most appropriate trigger text
 

augustya

Member
That depends on the device. Press the capture button and press the red button. Close the music player. Then when you finish press the stop button and choose the most appropriate trigger text
Not understanding, can you show a screen shot or a screen recording something like that ? That will help.
 
Top