Invoking browser on steaming media URLs

Posted by Maven on Stack Overflow See other posts from Stack Overflow or by Maven
Published on 2010-04-18T06:57:53Z Indexed on 2010/04/18 7:03 UTC
Read the original article Hit count: 251

Filed under:
|
|

I have a dirt simple little function that launches the blackberry browser on a streaming media file in order to launch the built in media player. Everything works fine but there is this annoying dialog every time from the browser asking me if I want to save or open the file. My answer is always "open" the file so is there a way I can make it default and not bring up the dialog each time?

The code I'm using to launch the browser

// Get the default sessionBrowserSession
browserSession = Browser.getDefaultSession();
// now launch the URL
browserSession.displayPage(url);

This is on blackberry OS 5.0

Thanks!

© Stack Overflow or respective owner

Related posts about blackberry

Related posts about browser