Difference between revisions of "Launch Ace Stream on Android"

From Ace Stream Wiki
Jump to: navigation, search
(Новая страница: «Для запуска просмотра через Ace Stream на Android необходимо выполнить следующий код: <tt><nowiki>Intent…»)
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Для запуска просмотра через Ace Stream на Android необходимо выполнить следующий код:
+
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