BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-30-2008, 04:12 AM   #1
rmbarnes1982
New Member
 
Join Date: Sep 2008
Model: 8220
PIN: N/A
Carrier: n/a
Posts: 7
Default Help launching blackberry browser

Please Login to Remove!

Hi,

I am a PHP developer, but need to develop a small app in Java for use on the blackberry.

I have downloaded the RIM SDK / IDE and have been able to get a basic app up and running. The problem occurs when I try and get my app to launch the Blackberry web browser and go to a URL. I am trying to do it like this:

Code:
public MyApp() {
                BrowserSession browser = Browser.getDefaultSession();
                browser.displayPage("[link]");
}
(*[link] is a fully qualified url, but this forum won't let me post with a url in it.)

with this method being within a class called MyApp which extends UiApplication.

When run on a BlackBerry 8220 simulator, the app seems to load the blackberry browser, but the progress bar down the bottom says 'requesting' but the webpag never loads. If I manually open the browser and enter the same URL it loads ok.

We haven't yet got the classes signed which would be required for net.rim.blackberry.api.browser which we use, but I don't know if this matters because before we try and load it onto a real device, not just a simulator. Was hoping to not spend on signing untill I can see the app working.

Am I doing it completely wrong?

Any help would be much appriciated.

Regards,

Robin

Last edited by rmbarnes1982; 09-30-2008 at 04:13 AM..
Offline  
Old 09-30-2008, 11:23 AM   #2
rmbarnes1982
New Member
 
Join Date: Sep 2008
Model: 8220
PIN: N/A
Carrier: n/a
Posts: 7
Default

C'mon guys, some of you must know how to do this.

Any thoughts?

Robin
Offline  
Old 10-01-2008, 02:52 AM   #3
Ivanov
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2008
Location: Germany, BW
Model: -
PIN: N/A
Carrier: -
Posts: 310
Default

check this: Livelink - Redirection
__________________
Blessed is the end user who expects nothing, for he/she will not be disappointed. (Franklin's Rule)
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Motorola 68060 68EC060 MC68EC060RC75 CPU / Processor AMIGA unused, new USA stock picture

Motorola 68060 68EC060 MC68EC060RC75 CPU / Processor AMIGA unused, new USA stock

$69.99



New Greaseweazle V4.1 USB Floppy Adapter Flux Reader Writer Amiga 1591 picture

New Greaseweazle V4.1 USB Floppy Adapter Flux Reader Writer Amiga 1591

$28.28



New Greaseweazle V4.1 USB Floppy Adapter Flux Reader Writer Amiga PC Case 1598 picture

New Greaseweazle V4.1 USB Floppy Adapter Flux Reader Writer Amiga PC Case 1598

$36.08



New Tank Mouse White Beige USB Wireless Bluetooth 5.0 Amiga PC C64 1283 picture

New Tank Mouse White Beige USB Wireless Bluetooth 5.0 Amiga PC C64 1283

$56.63



Mitsubishi FR-A540-0.75K-NA AC DRIVE INVERTER 1 HP 380-480 VAC 50/60 HZ 4.1 AMP  picture

Mitsubishi FR-A540-0.75K-NA AC DRIVE INVERTER 1 HP 380-480 VAC 50/60 HZ 4.1 AMP

$649.99



Radiomatic Flo-One Beta Radio-Chromatography Detector A-500 Model A525 [E2FL] picture

Radiomatic Flo-One Beta Radio-Chromatography Detector A-500 Model A525 [E2FL]

$245.00







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