step by step tutorial on how to play different songs from raw using kotlin programming language code example
Example: play sound android studio kotlin
//make a audio file in the res/raw directory
mediaPlayer = MediaPlayer.create(this, R.raw.FILE_NAME)
mediaPlayer?.start()