In the latest Shazam update, it’s now possible to recognize music from headphones and another app.
The innovation is called Pop-Up Shazam and applies only to Android. Apple on iOS disables background audio access.
To recognize music in other apps, you need to go to “Settings” and turn on “Pop-up Shazam”.
After that, the corresponding icon will appear on top of the applications. By clicking on it, the song being played will be determined.