matejdro Posted October 2, 2018 Share Posted October 2, 2018 It looks like new Poweramp ignores MediaSession commands such as pause or play from 3rd party media control apps. Steps to reproduce: Compile and install https://github.com/matejdro/PowerAmpMediaControllerBugSample Open test app Grant app notification access (needed for playback control) Start playing media on Poweramp Press pause button in the test app Upon pressing pause, Poweramp's playback should pause but it does not. If you install old non-beta Poweramp or try it with any other media app (just replace package in the MainActivity), this works. I've reproduced this on rc-build-797-play. Link to comment Share on other sites More sharing options...
clever_man Posted October 2, 2018 Share Posted October 2, 2018 @matejdro, for controlling media session of the Poweramp you can use standart android mediasession actions or directly via Poweramp API, which was created specialy for this and privide huge functionality. Link to comment Share on other sites More sharing options...
matejdro Posted October 2, 2018 Author Share Posted October 2, 2018 This works if I target Poweramp specifically, but if I want to build universal media control app that controls whatever media app user uses, then Poweramp-specific API does not help me much. MediaSession API is universal Android API and it works on every single other app, including the old Poweramp, so I suspect there is just simple bug that prevents it from working. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.