Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > BSPlayer for Android

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 15th June 2014
Junior Member
BS.Player Newbie
 
Join Date: Jun 2014
Age: 48
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
  #2 (permalink)  
Old 7th July 2014
Ico-man's Avatar
BS.Support
BS.Player Power User
 
Join Date: Sep 2006
Location: Slovenia
Posts: 1,459
Rep Power: 10
Ico-man is on a distinguished road
Default

Without password it should work. We will test it.
Reply With Quote
  #3 (permalink)  
Old 9th July 2014
Junior Member
BS.Player Newbie
 
Join Date: Jun 2014
Age: 48
Posts: 4
Rep Power: 0
bshopper is on a distinguished road
Default

There is no password on the smb share.
The problem is that android does not seem to accept an url starting with 'smb://' (android.content.ActivityNotFoundException: No Activity found to handle Intent).

Is there any way to call BSPlayer directly with package name and parameters in the intent? That would probably be the trick. But I have no idea what to fill into the intent.
Reply With Quote
  #4 (permalink)  
Old 9th July 2014
Ico-man's Avatar
BS.Support
BS.Player Power User
 
Join Date: Sep 2006
Location: Slovenia
Posts: 1,459
Rep Power: 10
Ico-man is on a distinguished road
Default

Will be fixed in next version.

URL format should be "smb://host/share/movie.mp4"
Also acceptable is "smb://user:password@host/share/movie.mp4"
If password is required, you must first add host in BSPlayer, then play passworded file.
Reply With Quote
  #5 (permalink)  
Old 9th July 2014
Junior Member
BS.Player Newbie
 
Join Date: Jun 2014
Age: 48
Posts: 4
Rep Power: 0
bshopper is on a distinguished road
Default

Thanks a lot!
I'll keep you informed.
Reply With Quote
  #6 (permalink)  
Old 19th July 2014
Junior Member
BS.Player Newbie
 
Join Date: Jun 2014
Age: 48
Posts: 4
Rep Power: 0
bshopper is on a distinguished road
Default

Wow! It works on the free version now. When does the Pro Version follow?
Thanks for helping.
Reply With Quote
  #7 (permalink)  
Old 6th August 2014
Ico-man's Avatar
BS.Support
BS.Player Power User
 
Join Date: Sep 2006
Location: Slovenia
Posts: 1,459
Rep Power: 10
Ico-man is on a distinguished road
Default

Also is fixed in full version.
Reply With Quote
Reply

Tags
app, launch, smb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Features/Improvements to BSplayer Tizio Feature Requests, Feedback And Suggestions 0 7th October 2006 03:54 PM
BUGS in BSplayer v2.12.941 (Normal/Pro) Tizio Bug Reports And Codecs 0 5th October 2006 07:43 PM
READ THIS FIRST BEFORE POSTING BSPeter General Talk And Support 0 17th January 2005 01:29 AM
Fixing the Icon Problem for yourself neato713 Feature Requests, Feedback And Suggestions 1 3rd October 2004 03:04 PM
ATI Remote Wonder plug-in for BSPlayer (dll inside) matz General Talk And Support 17 5th December 2003 10:04 PM


All times are GMT +1. The time now is 04:26 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger

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