0
Q:

play sound android studio kotlin

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

New to Communities?

Join the community