title: Launching android player from kivy
body: <p>I am trying to launch media player to play an HLS link from kivy+android environment. I am able to launch the default media player using the sample code I got from net (given below). But I have installed another better media player (<a href="https://play.google.com/store/apps/details?id=veg.network.mediaplayer" rel="nofollow">https://play.google.com/store/apps/details?id=veg.network.mediaplayer</a>) that I want to be launched with the url. Any idea how I can proceed on this? Is it possible to create intents from kivy? (Note: I am using kivy launcher and not apk (buildozer))</p>
  
  <pre><code>from jnius import autoclass
  from time import sleep
  
  # get the MediaPlayer java class
  MediaPlayer = autoclass('android.media.MediaPlayer')
  #MediaPlayer = autoclass('veg.network.mediaplayer')
  # create our player
  mPlayer = MediaPlayer()
  mPlayer.setDataSource('http://www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8')
  mPlayer.prepare()
  
  # play
  print 'duration:', mPlayer.getDuration()
  mPlayer.start()
  print 'current position:', mPlayer.getCurrentPosition()
  sleep(50)
  
  # then after the play:
  mPlayer.release()
  </code></pre>
  
  <p>thx,
  gl</p>