Reply To: Using intent to run a live video stream

About XMTV Player Forums Help and Support Using intent to run a live video stream Reply To: Using intent to run a live video stream

#1385

support
Keymaster

Hi,
please add follow code in your app, where Title is stream name and uri is playpath.
More samples you can see here: http://xmtvplayer.com/development-api.

Please do not hesitate to contact me if you have any further questions.

/**
* @param Title – Media Name
* @param uri – path/url to media
*/
public void XMTVPlayerPlayUri(String Title,String uri){
Bundle bnd = new Bundle();
bnd.putString(“path”, uri);
bnd.putString(“name”, Title);
Intent intent = new Intent();
intent.setClassName(“com.xmtvplayer.watch.live.streams”,”org.zeipel.videoplayer.XMTVPlayer”);
intent.putExtras(bnd);
startActivityForResult(intent, 100);
}

  • This reply was modified 1 year, 3 months ago by  support.

IPTV | Smart TV | Mobile Theatre Software | Media Player for Android(tm)