In my Android car head unit I'm using Tasker for automatic starting poweramp after booting, which works quite good but only for poweramp.
Now I'm using also sometimes other media apps like DAB-Z and I'm searching a solution for identifiying the last playing media app.
If the media app is paused the variable should be kept to the last playing app so at least the stored variable should only change, if another media app is playing.
In my case it's "only" DAB-Z and Poweramp.
Anyone knows a solution for this?