Title: How to play custom notification sound, when phone is muted?
Tags: java;android;audio;notifications
Question: I would like to play sound using NotificationCompat.Builder when phone is muted.
I tried to do that using AudioManager, but I found no solution to my problem. When phone isn't muted everything works fine. Anyone has some tips how to make it?
Comment: [check this once ](http://stackoverflow.com/questions/26353361/notification-with-sound-although-phone-is-muted)hope this is what you are looking for

Comment: I saw this question, but i really didn't liked solution with media player, and the second one wasn't working for me.



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 2, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2016:00:06/09/16', 'FavoriteCount': 0.0, 'PostTypeId': 1, 'Tags': '<java><android><audio><notifications>', 'Title': 'How to play custom notification sound, when phone is muted?', 'ViewCount': 120, 'id': 37726629, 'user_AboutMe': '', 'user_AccountId': 6880599.0, 'user_DisplayName': 'bezmian', 'user_Reputation': 21.0, 'user_Views': 4.0, 'user_id': 5287433.0}}