2014-12-04, 04:29
Hi,
I am an Android developer and I want to use XBMC as a player for my movie app. Is there API available?
For example, I have this for MX Player (API definition here: https://sites.google.com/site/mxvpen/api)
Do we have anything like that in XBMC?
Thanks a lot.
I am an Android developer and I want to use XBMC as a player for my movie app. Is there API available?
For example, I have this for MX Player (API definition here: https://sites.google.com/site/mxvpen/api)
Code:
Intent intent = new Intent(Intent.ACTION_VIEW);
Uri videoUri = Uri.parse("http://host:port/playlist.m3u8");
intent.setDataAndType( videoUri, "application/x-mpegURL" );
intent.setPackage( "com.mxtech.videoplayer.pro" );
startActivity( intent );
Do we have anything like that in XBMC?
Thanks a lot.