2015-03-11 2 views

ответ

1

Нечто подобное может работать для вас:

try 
{ 
    Intent i = new Intent(Intent.ACTION_VIEW); 
    //get an intent 
    i.setPackage("org.videolan.vlc.betav7neon"); 
    //set the package name 
    i.setDataAndType(Uri.parse("https://www.linkofvideo.com"), "video/h264"); 
    //replace https://www.linkofvideo.com with the link or IP 
    //replace video/h264 with the type of video 
    startActivity(i); 
    //start the activity 
} 
     catch (PackageManager.NameNotFoundException e) { 
      //app is NOT installed 
     } 
+0

Он работал, Большое спасибо –

Смежные вопросы