Reputation: 33
I'm working on a music application and I've noticed that when a bluetooth device is connected or disconnected, the activity destructor is called, which causes the music to stop playing. I've tried other music apps but it doesn't happen with them, connecting the device does not interrupt the music. I made a new android app but the same thing happens.
Does anyone know how to solve this problem?
Thanks
Upvotes: 0
Views: 30