Play Sound Android Studio Kotlin

[Solved] Play Sound Android Studio Kotlin | Kotlin - Code Explorer | yomemimo.com
Question : play sound android studio kotlin

Answered by : oli

//make a audio file in the res/raw directory
mediaPlayer = MediaPlayer.create(this, R.raw.FILE_NAME)
mediaPlayer?.start()

Source : | Last Update : Sat, 25 Apr 20

Answers related to play sound android studio kotlin

Code Explorer Popular Question For Kotlin