Android custom notification sound per contact

broken image

These are both required for Converbration to do what it does, so if you're not cool with that, then this app is not for you. Once installed, Converbration will guide you through a simple setup where you'll grant it notification access and permission to read your text messages. Really, that's all the app itself is: a series of customizations for other notifications.

broken image

Not only that, but the controls are incredibly customizable. It takes some getting used to, but it really does help you figure out what a message is without even looking at your phone. Short messages get short vibrations or sounds, and longer ones are longer.

broken image

A message with exclamation marks 'feels' more exciting. For example, a question gets a sort of inquisitive vibration or sound pattern. It tries to mimic the inflection used in the specific message. getSystemService (Context.NOTIFICATIONSERVICE) Notification notification new Notification (icon, message. NotificationManager notificationManager (NotificationManager) context. It uses the context of your messages-mostly conversations, as the name suggests-to customize the vibration or sound patterns of the message. Firstly make the folder in Resource (res) name it raw and put the file (YOURSOUNDFILE.MP3) in it and than use below lines of code for custom sound.

broken image

Related: How to Use Android Oreo's New Notification Channels for Ultra-Granular Notification CustomizationĬonverbration (horrible name, great app) hails itself as 'intelligent notifications,' because it takes the notification system to a whole new level of customization (at least, for text messages).

broken image