title: How to share audio files in Android Studio (Kotlin)?
body: <p>How can I share an audio file in Android Studio? I have tried the following so far, but it doesn't work.</p>
  
  <pre><code>button.setOnLongClickListener(OnLongClickListener {
  
              val sendIntent: Intent = Intent().apply {
              action = Intent.ACTION_SEND
              var path = "absolute/path"
              var uri = Uri.parse(path)
              putExtra(Intent.EXTRA_STREAM, uri)
              type = "audio/mp3"
          }
          startActivity(sendIntent)
          true   
      })
  </code></pre>