BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-07-2009, 10:42 AM   #1 (permalink)
New Member
 
Join Date: Mar 2009
Model: 8800
PIN: N/A
Carrier: BlackBerry Enterprise server
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to get browser session without hestory

Please Login to Remove!

I want to play a movie in my application by using streaming.

So, I use the rtsp url and invoke a browser from my application which opens the movie in media player perfactly

but if I click back button it opens the previous web site browse by user.



I used the code to get browser session as
BrowserSession browserSession = Browser.getDefaultSession();

browserSession.displayPage("file:///SDCard/Data/"+fileName);
browserSession.showBrowser();



How can I get a session of the browser so that it does not show previous web sites of user and it return back to my application.



Please healp me to find out solution.
Offline  
Old 09-07-2009, 01:13 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

I think you'll need to use BrowserField instead of launching the browser.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.