Difference between revisions of "Launch Ace Stream on Android"

From Ace Stream Wiki
Jump to: navigation, search
 
Line 1: Line 1:
Refer to the following code as example:
+
Please find details in README here:
<tt><nowiki>Intent intent = new Intent();
+
https://github.com/acestream/android-service-client-example
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);</nowiki></tt>
 

Latest revision as of 10:09, 5 June 2019