No, I did not mean doing it manually as an end user. I meant my app's passing an SMB path to VLC. Imagine that my app is listing the video files on an SMB shared directory. When the user clicks a video file, I want to open it with VLC, by passing the file's SMB path (e.g., smb:\\server\dir\file.mp4) to it.Did you try in More > Streams > New stream?
Code: Select all
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("vlc://smb://server/path/to/file/file.mp4")))
That worked. Thanks. I had wondered if it is allowed to have "://" inside of a URL, but apparently, that is.Sorry, I completely missed your point.
should do the trickCode: Select all
startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("vlc://smb://server/path/to/file/file.mp4")))
Return to “VLC for Android and Chrome OS”
Users browsing this forum: No registered users and 9 guests