Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > BSPlayer for Android
Register FAQ Calendar Today's Posts Search

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: 54
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,469
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 8th July 2014
Junior Member
BS.Player Newbie
 
Join Date: Jun 2014
Age: 54
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,469
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: 54
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 18th July 2014
Junior Member
BS.Player Newbie
 
Join Date: Jun 2014
Age: 54
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,469
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


Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI Remote Wonder plug-in for BSPlayer (dll inside) matz General Talk And Support 18 10th July 2020 07:25 AM
New Features/Improvements to BSplayer Tizio Feature Requests, Feedback And Suggestions 0 7th October 2006 02:54 PM
BUGS in BSplayer v2.12.941 (Normal/Pro) Tizio Bug Reports And Codecs 0 5th October 2006 06: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 02:04 PM


All times are GMT +1. The time now is 12:02 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, 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 20