--- _db_id: 94 content_type: topic ready: true title: Working with sound assets --- Sound can be used for various things in an Android application. From streaming music to acting as notifications or even acting as background music in a game. Here's some examples on how to play audio. # Examples [Playing audio](https://www.javatpoint.com/kotlin-android-media-player) from the asset folder. [This video](https://www.youtube.com/watch?v=T6JjTJiLI8k) also explains how to play a local audio file. You can also [stream](https://blog.mindorks.com/using-mediaplayer-to-play-an-audio-file-in-android) audio from online sources, if the user is connected to the internet.