View Single Post
  #1 (permalink)  
Old 15th June 2014
bshopper bshopper is offline
Junior Member
BS.Player Newbie
 
Join Date: Jun 2014
Age: 49
Posts: 4
Rep Power: 0
bshopper is on a distinguished road
Default Launch BSPlayer from App

I'm running BSPlayer on a HP Slate 21 Tablet and it works fine.
Now I developed an app which searches my movie database. On the selection of a movie I'd like to launch BSPlayer with the chosen movie. The movie is on a SMB-Share (My Book Live).

What I tried so far is:

Code:
            
            Intent intent = new Intent(Intent.ACTION_VIEW);
            intent.setDataAndType(Uri.parse(url), "video/*");
            startActivity(intent);
For the url I tried something like "smb://host/share/movie.mp4" but this is not working.

Has anyone tried this. Or can People from BSPlayer give me a hint? Any suggestions highly welcome! Thanks.
Reply With Quote
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20