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
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