BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 11-27-2008, 10:07 AM   #1 (permalink)
Thumbs Must Hurt
Join Date: Oct 2007
Model: 7100i
Carrier: Dont know
Posts: 195
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Blackberry browser application problem

Please Login to Remove!

i have this application, when the icon is clicked on the homescreen it pushes a mainscreen an then opens the google website immediatley as i set the default seesion of the browser to google and display it. it wrks fine but the problem is when i finish browsing and then click on escape it shows me the blank screen which i have pushed(i dont want to view this screen). I f i remove the mainscreen the application doesnot wrk properly.

If i dont push the screen the browser just opens once and then it hangs the application. What i want is when i finish browsing and press escape it should just exit the app without showing me the mainscreen.

Or can we handle the pressing of ' escape ' in the browser ,, does anyone have any idea.

Thanks in advance.
Old 11-27-2008, 10:22 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
Join Date: Apr 2008
Location: Germany, BW
Model: -
Carrier: -
Posts: 310
Post Thanks: 0
Thanked 0 Times in 0 Posts

try to override
protected void onExposed()
of your screen as it should be called if:

2. a global screen is popped (since 4.0)
3. this screen's application receives foreground (since 4.2)
Blessed is the end user who expects nothing, for he/she will not be disappointed. (Franklin's Rule)
Old 11-27-2008, 02:36 PM   #3 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

If you are using Invoke() to start the browser, this is a blocking call. Control passes back to you application when exiting the browser.

Consequently, you should be able to exit the app immediately after the call to Invoke. Just perform System.exit(0), or requestbackground(), or whatever works for you.
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

VINTAGE BERNOULLI 150 MULTIDISK MAC TRANSPORTABLE  DISK DRIVE  pictureVintage MAC V306, 15/16", 6-Point Impact Socket with a 1/2" Drive
Vintage MAC V306, 15/16Vintage Lot Of Mixed Sockets 3 MAC, 4 SNAP - ON, 6 S-K SOCKETS TOOLS
Vintage Lot Of Mixed Sockets 3 MAC, 4 SNAP - ON, 6 S-K  SOCKETS TOOLS pictureVintage 1/2" Drive MAC VUI 166T 6 Point Impact Swivel Socket
Vintage 1/2Vintage MAC Tools 1/2" S94 Distributor Wrench, U.S.A.
Vintage MAC Tools 1/2

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