I apologize in advance, I post here because the topics under development do not really mention Android TV ... I also posted in https://code.videolan.org/videolan/vlc-android/issues
I would like to send an Intent to VLC to play a video from a smb share. With this code I got an ActivityNotFoundException
Code: Select all
Intent i = new Intent(android.content.Intent.ACTION_VIEW);
i.setData(Uri.parse(pPath));
App.GetContext().Activity.startActivity(i);
Code: Select all
Uri path = Uri.parse(pPath);
Intent i = new Intent(Intent.ACTION_VIEW);
i.setComponent(new ComponentName("org.videolan.vlc", "org.videolan.vlc.gui.video.VideoPlayerActivity"));
i.setData(path);
App.GetContext().Activity.startActivity(i);