Hot answers tagged

17 votes
Accepted

How can I prevent an app from interrupting audio playback of some other app?

You can set TAKE_AUDIO_FOCUS permission of that app to ignore: appops set <PKG_NAME> TAKE_AUDIO_FOCUS ignore Using Permission Manager X (PMX) this can be done conveniently for any app: ...
Irfan Latif's user avatar
  • 19.7k
9 votes
Accepted

How to have two applications play sound simultaneously?

As for my device, whenever I play Duolingo and music at the same time, then the audio fades slightly with CM 12 built-in player Now if you are OK with any third-party application, here is what you ...
reachrk's user avatar
  • 736
9 votes

What can play Ogg Opus on Android?

According to the Supported Media Formats page Opus is supported natively since Android 5.0, but only in the Matroska (.mkv) container. The Xiph.org wiki and IETF draft state that the mime-type for ...
LiveWireBT's user avatar
6 votes

Stop Media Playback through adb

Use KeyEvent to do the job. adb shell input keyevent 85 85 corresponds to KEYCODE_MEDIA_PLAY_PAUSE. More keycodes can be found here or here. Alternatively, if the activity featuring Play/Pause ...
Firelord's user avatar
  • 24.7k
6 votes

How to have two applications play sound simultaneously?

You CAN play two audio simultaneously. I don't think it's possible with the stock Music player. You can install a third-party music player. In Rocket Music player, you can configure the Audio Focus to ...
Lucky's user avatar
  • 3,313
6 votes
Accepted

Possible to transfer songs from iTunes (on Mac) to Android phone?

Of course, it's trivial to transfer the non-DRM music. There are lots of apps on Google Play that effectively sync iTunes with Android in an iTunes-iOS way. Personally, I really like iSyncr used ...
Fiksdal's user avatar
  • 1,171
5 votes

How to have two applications play sound simultaneously?

Samsung's SoundAssistant does this and allows you to adjust the volume of both apps separately. Not sure if Samsung's app store (Galaxy Store) or the app itself is available for non-Samsung devices, ...
Graham Thomas's user avatar
5 votes
Accepted

How to play 5.1 audio direct to speakers?

There are many ways you can get the audio out. Through wire: Head phone jack - you clearly said it can deliver only two channel audio. USB - You can use an OTG adapter and plug in a 5 channel USB ...
Narayanan's user avatar
  • 7,124
5 votes
Accepted

How to know, which app is playing music in the background?

Try this command inside adb shell dumpsys media_session | grep -E "Media button session is.*userId=0" It will output like this blueline:/ $ dumpsys media_session | grep -E "Media button ...
Vaibhav S's user avatar
4 votes
Accepted

Prevent apps from pausing Google Play Music

The behavior is determined by Play Music, which gets notified when another app requests audio focus (as per the documentation). Unless there is an option in Play Music's settings to disable this ...
Matthew Read's user avatar
  • 50.5k
4 votes
Accepted

Direct Music Player audio to Caller

You cannot Media Playback developer documentation says (emphasis added) You can play back the audio data only to the standard output device. Currently, that is the mobile device speaker or a ...
beeshyams's user avatar
  • 40.1k
3 votes

What can play Ogg Opus on Android?

It's an old question but it's hard not to mention Foobar2000 (that has finally been ported to mobile) for Opus support.
a25bedc5-3d09-41b8-82fb-ea6c353d75ae's user avatar
3 votes

Music stored on the External SD Card is removed from playlists at reboot

After more experimentation, I've made a breakthrough. Ultimately, this all happens cause Android's Media Scanner will scan the internal SD for media at startup. When it finds Playlist files it ...
HeyItsJono's user avatar
3 votes
Accepted

Album art doesn't change

Yeah, album art caching sucks.. I know exactly what you're going through. But I'm pretty sure I have a working solution for turning off auto-relation. You may or may not need root, depending on if ...
Aaron Gillion's user avatar
3 votes

How to play 5.1 audio direct to speakers?

In stock Android, it's not possible to have more than two audio channels (stereo) via USB as documented here. The 3.5mm jack, as well as Bluetooth, do not support more than 2 channels either (although ...
Walter Wolf's user avatar
3 votes
Accepted

Can I connect android through headphone jack to car stereo's USB?

Most likely not, but it depends on the technical details of the components in question. Most importantly, Is the adapter simply a passthrough wiring change? Or is it an active device that actually ...
AaronD's user avatar
  • 186
3 votes

"Unknonwn Artist" only on Google Music with corred ID3 tags

Bit late, but maybe I can help someone else who finds this. I also had this apparent problem and in my case it seemed to be related to album art. I managed to fix the relevant files by re-saving the ...
KaelanDuck's user avatar
3 votes
Accepted

How can I mute the YouTube app while playing music on another player?

You can play video in browser instead of youtube app. In browser you can mute the audio. If your browser launched youtube app when clicked on video link, you need to copy the url and paste it inside ...
Mayank Kumar Chaudhari's user avatar
3 votes

How can I prevent an app from interrupting audio playback of some other app?

If you have a Samsung phone then Sound Assistant has a Multi Sound option that can allow specific applications to be able to play audio at the same time as other applications. Once you toggle it on ...
Mokubai's user avatar
  • 442
2 votes

How do I play MP3s from my Dropbox?

PowerAmp seems to be able to scan the file system automatically. At least when I opened it, all my offline available sound files (regardless of format, I have many WAV and M4A files) were playable, ...
Johannes Thoma's user avatar
2 votes

Where (and how) does Android store music playlists?

I found a post from XDA Developers. If anyone reading this doesn't find it on the directory listed above, try this one instead: /data/data/com.android.providers.media/databases/external-{{some hex ...
henry700's user avatar
2 votes

Why can't my phone find pictures or music files suddenly?

This issue has been driving me insane. It's happened previously on Samsung Galaxy S4 and again on my S6 edge. Issue: Images missing from Gallery app or Music missing from music player app. Having ...
David Harber's user avatar
2 votes

How to stream music from one android device to another?

Apart from "Bluetooth music player" (mentioned in above answer), you may also try SoundSeeder speaker or SoundSeeder Music player. As i remember, at first you should pair the devices. From the ...
T.Todua's user avatar
  • 169
2 votes

Why do my headphones stop working on my LG Android?

After THREE YEARS of searching for a fix... I think I just found a solution - and felt obligated to spread the information. Just plug the headphones in slowly... That's actually all there was to it... ...
XBuilder's user avatar
2 votes
Accepted

Multiple Music libraries

To hide media in any folder showing up, you need to add .nomedia file to it. If you search your device, using file explorer (either stock or your preferred),you are likely to find quite a few of these ...
beeshyams's user avatar
  • 40.1k
2 votes

How can I mute the YouTube app while playing music on another player?

You can try a couple alternative apps. They have some advanced features that the official youtube app lacks. NewPipe: https://f-droid.org/en/packages/org.schabi.newpipe/ Skytube: https://f-droid.org/...
arifur's user avatar
  • 31
2 votes

WhatsApp messaging interrupts Music while the wireless headset is connected

you can try to change the settings Sound->Earphone mode->Notification ringtone in earphones to never. Downside: you won't get any notifications on your Headset anymore. I hope it helps. Edit: ...
knolperlap's user avatar
2 votes

WhatsApp messaging interrupts Music while the wireless headset is connected

This worked for me Go to your WhatsApp app > Settings > Notification > Conversation tones and turn conversation tones off. Your music will start working just fine even when you're sending ...
Muhammad Naeem's user avatar
1 vote

Listening to music in the background

Go to the pop up menu for the file and select export, Then save it to the device. Now it's on your phone and can be played via your native media player
dking2012's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible