views:

20

answers:

0

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!