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,705
Post Thanks: 4
Thanked 112 Times in 79 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

800925P/803254P NEW ALLIANCE WASHER ASSEMBLY INVERTER CONTROL
$195.0
800925P/803254P NEW ALLIANCE WASHER ASSEMBLY INVERTER CONTROL  pictureProgrammable AC Inverter Drive 20 Hp Open Enclosure 29 Amp Keypad Lockout Remote
$1000.0
Programmable AC Inverter Drive 20 Hp Open Enclosure 29 Amp Keypad Lockout Remote picture1pcs Used Siemens Inverter Accessories 6SA8252-0AD74 tested
$1280.0
1pcs Used Siemens Inverter Accessories 6SA8252-0AD74 tested pictureMarathon 182TCZ Inverter Duty AC Induction Motor 230/460V 3 Phase 3 HP 1735 RPM
$775.0
Marathon 182TCZ Inverter Duty AC Induction Motor 230/460V 3 Phase 3 HP  1735 RPM pictureSchneide ATV68C13N4 HT90KW/ST110KW Inverter
$2800.0
Schneide ATV68C13N4 HT90KW/ST110KW Inverter picture






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