Launch Ace Stream on Android

From Ace Stream Wiki
Revision as of 11:58, 25 May 2017 by Ffx (talk | contribs)
Jump to: navigation, search

Refer to following code, as example:

Intent intent = new Intent();
intent.setComponent(new ComponentName("org.acestream.media", "org.acestream.engine.ContentStartActivity"));
intent.setAction(Intent.ACTION_VIEW);

// start by content id
intent.setData(Uri.parse("acestream://17120e77548ed851899de2e56f3fd02ff71873e9"));
// or start by transport file URL
intent.setData(Uri.parse("http://acestream.net/demos/files/avatar.rutor.torrent"));

startActivity(intent);