BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-06-2009, 02:15 PM   #1 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8830
PIN: N/A
Carrier: verizon
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default WebShortCut Launching Bookmarks Page First ?

Please Login to Remove!

The custom blackberry webshortcut is launching bookmarks page first when the browser exits from bookmarks page when closing. So, is there a way to bypass this bookmarks page and open the webpage directly. I have used browserSession.showBrowser(); but still it wouldnt help ... Anyone please help ????
Offline  
Old 02-06-2009, 05:03 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

Are you specifying the URL you want to browser to open to?
Offline  
Old 02-09-2009, 08:37 AM   #3 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8830
PIN: N/A
Carrier: verizon
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, i am specifying the URL to Open !!.But, instead it opens the Bookmarks page when the last opened page in the browser was bookmarks page.
Offline  
Old 02-09-2009, 09:49 AM   #4 (permalink)
New Member
 
Join Date: Feb 2009
Model: 8830
PIN: N/A
Carrier: verizon
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default balck berry problem

the code i have used is following..the application is launching properly at most times,the only one point it fails is when I go to BookMarks Page and when i press the back button it takes me to the icons screen but when i click on the icon it is redirecting me to the BookMarks page rather than the original website I have configured for.


public static class LaunchScreen extends MainScreen{

public LaunchScreen(){
super();
//Add a field to the title region of the screen. We use a simple LabelField here. The ELLIPSIS option truncates
// the label text with "..." if the text was too long for the space available.
setTitle(new LabelField("MyApp", LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH));

//Add a read only text field (RichTextField) to the field portion of the screen. The RTF is focusable by default.
add(new RichTextField("MyApp"));
BrowserSession browserSession = Browser.getDefaultSession();
browserSession.displayPage("my url");
browserSession.showBrowser();
System.exit(0);
}
}
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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