BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 08-11-2008, 05:06 PM   #1 (permalink)
New Member
 
Join Date: Aug 2008
Model: 8800
PIN: N/A
Carrier: ATT
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default RIM Browser is not launching desired URL

Please Login to Remove!

Hi,

I'm writing wdigets for Black Berry handsets.
Code is:

visit.displayPage(URL);
visit.showBrowser();
System.exit(0);

This code is launching the specified URL page when I launch it from desktop. But if I select 'Run' after the game installed, it's staying on the last visited page.

Please help me if anyone have idea to fix this issue.

Thanks,
Suri
Offline  
Old 08-11-2008, 05:17 PM   #2 (permalink)
BBF Moderator
 
John Clark's Avatar
 
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,715
Post Thanks: 6
Thanked 115 Times in 82 Posts
Default

Moved to Developer's Forum.
Offline  
Old 08-12-2008, 02:48 AM   #3 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

try to use this instead:
Code:
Browser.getDefaultSession().displayPage("http://www.blackberryforums.com/");
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 08-12-2008, 11:17 AM   #4 (permalink)
New Member
 
Join Date: Aug 2008
Model: 8800
PIN: N/A
Carrier: ATT
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for your help.

I have tried with default seesion but no luck.

Code:
BrowserSession visit = Browser.getDefaultSession();
visit.displayPage(url);
visit.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

JOHNSON CONTROLS 3/4' N.O. VALVE WITHOUT ACTUATOR VB-3754-4
$32.99
 JOHNSON CONTROLS 3/4' N.O. VALVE WITHOUT ACTUATOR VB-3754-4 pictureNEW JOHNSON CONTROLS G779LHA-1 INTERMITTENT PILOT IGNITION
$135.0
NEW JOHNSON CONTROLS G779LHA-1 INTERMITTENT PILOT IGNITION pictureJohnson 4E047 temperature control
$39.99
Johnson 4E047 temperature control pictureNew Johnson Controls Encapsulated Pressure Control P100AP-201C
$19.99
New Johnson Controls Encapsulated Pressure Control P100AP-201C pictureJohnson Controls Temperature Control Manual Reset A70HA-1C
$55.0
Johnson Controls Temperature Control Manual Reset A70HA-1C picture






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