Can anyone please tell how kotlin works with andro...
# announcements
j
Can anyone please tell how kotlin works with android studio Media player , i ma trying var
Copy code
mPlayer = MediaPlayer.create(this, R.raw.horn) as MediaPlayer
but the app stopps by calling
Copy code
mPlayer.start()