Official BS.Player forums

Official BS.Player forums (http://forum.bsplayer.com/)
-   BSPlayer for Android (http://forum.bsplayer.com/bsplayer-android/)
-   -   Launch BSPlayer from App (http://forum.bsplayer.com/bsplayer-android/27567-launch-bsplayer-app.html)

bshopper 15th June 2014 01:29 PM

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.

Ico-man 7th July 2014 11:12 AM

Without password it should work. We will test it.

bshopper 8th July 2014 11:45 PM

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.

Ico-man 9th July 2014 07:27 AM

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.

bshopper 9th July 2014 09:54 PM

Thanks a lot!
I'll keep you informed.

bshopper 18th July 2014 11:06 PM

Wow! It works on the free version now. When does the Pro Version follow?
Thanks for helping.

Ico-man 6th August 2014 11:55 AM

Also is fixed in full version.


All times are GMT +1. The time now is 06:37 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