Firstly make the folder in Resource (res) name it raw and put the file (YOUR_SOUND_FILE.MP3) in it and than use below lines of code for custom sound Show
Use these lines of code for custom sound
EDIT UPDATE For the Oreo and higher , you need to check the SDK_VERSION and use the Notification sounds are definitely useful, but they can start to get on your nerves after a while. If you’re getting tired of your current notification sound, don’t worry – it’s easy to change it. Luckily, there are plenty of options to choose from, and you can even add your own sounds and customize each app individually. This article will explain how you can change the default notification sound and add your own sounds on your Android device. Table of Contents How to Change the Default Notification Sound on AndroidThe method for changing the default sound depends on your phone model and which version of Android you’re using. For that reason, we’ll describe the process for Google Pixel, Samsung Galaxy, and OnePlus below. To change your default Android notification sound on a Google Pixel:
To change the default Android notification sound on a Samsung Galaxy:
To change the default Android notification settings on a OnePlus device:
Note: In these menus, you’re also able to change your default ringtone as well as the system sound option. How to Change the Default Notification Sound by AppAndroid phones allow you to change notification sounds for each app individually. This is useful if you’d like a specific app notification sound for different apps (for example, the WhatsApp messenger or text messages app). To change the default notification tone of an app:
How to Set a Custom Alert Sound in SettingsMaybe the default alert sounds just aren’t good enough, or maybe you want a particular sound for your notifications. Either way, Android’s system settings let you use your own notification sounds. There are two main ways of doing this – using a free ringtone and sounds app such as Zedge, or manually. How to Use Zedge to Set a Custom Notification SoundZedge is the easiest way to find and download different notification sounds. To use Zedge:
How to Manually Set a Custom Notification SoundTo manually set a custom notification sound, you need to download or create an MP3 file and ensure it’s in the correct folder. To do this, you need to use Android’s File Manager or any third-party alternatives. Then you need to set that MP3 file as your default sound. If you’d like to create your own sound file, you can record sounds using an app such as Voice Recorder. You’re then able to cut this into a smaller soundbite appropriate for the notification sound using another app such as MP3 Cutter & Ringtone Cutter. Alternatively, you can use another app to make a synth beat or whatever sound you like. Once you have the audio file, you need to do the following:
Note: If Notifications isn’t visible, tap the dropdown arrow at the top-left of the screen and select All.
Get Notifications Your WayNotifications seem never to cease, whether it’s from social media or a game. And this is where Android’s customization options come in handy. Personalizing your notifications is a great way to add your touch to your phone and avoid getting sick of hearing the same tune over and over again. Can I add my own notification sound?Here's how to manually add a custom sound to your settings. Go to Settings > Apps & notifications > Notifications. Scroll down and tap Advanced > Default notification sound. Tap My Sounds.
How do I add custom sounds to my Samsung?You can import audio by downloading sounds to your phone and using the My Files app to copy them to the Notifications folder. You can create a unique notification for every app on your Samsung phone by customizing Notifications in the app's Info page.
How do I add notification sounds to my Android 2022?Here's how you can set custom notification sounds for all the text messages on your Android device:. Open the default messaging app.. Open “Menu” and click on “Settings.”. Choose “Notifications” and then click on “sound.”. From the options, select your preferred tone.. Can you change notification sounds for different Apps?On your device, navigate to Settings > Apps > Your apps. The menu names may be slightly different on some devices—for this guide, we'll be using a Samsung device. Find the app you wish to set a custom tone for and select it. On the app info page, tap Notifications and toggle on the slider button for Show notifications.
|