BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-29-2007, 09:49 AM   #1 (permalink)
New Member
 
Join Date: Aug 2006
Model: 8800
Carrier: -
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Autostart application running in foreground?

Please Login to Remove!

Hi,

I am just developing an application that should be started automatically after BlackBerry has been reset. By default those applications are invisible - but I require to bring it to forground, making it visible.

I already tried pushGlobalScreen() but either this does not work or I didi not find the right parameters. Does anybody know how to make a screen of an autostart program visible (by default)?

Robert
Offline  
Old 10-29-2007, 10:32 AM   #2 (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

did you try UiApplication.requestForeground() ?
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 10-30-2007, 03:41 AM   #3 (permalink)
New Member
 
Join Date: Aug 2006
Model: 8800
Carrier: -
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Simon,

no, I did not try UiApplication.requestForeground(). But even with your suggestion it did not work immediately, the timing when to call it is important.

here is my solution:
I implemented SystemListener2 in my UiApplication and call requestForeground() in the powerUp() method. Then the application shows up immediately after reset.

Thanks for your help,
Robert
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

Schaevitz Eng. 1000 DC-D 1000DCD 15V Position Transducer Sensor Pennsauken, N.J.
$100.0
Schaevitz Eng. 1000 DC-D 1000DCD 15V Position Transducer Sensor Pennsauken, N.J. pictureSiemens 6.5EC10 Curved Array 6.5MHz Endovaginal Ultrasound Transducer Probe
$55.0
Siemens 6.5EC10 Curved Array 6.5MHz Endovaginal Ultrasound Transducer Probe pictureSiemens 7.5L40 Linear Array Probe Transducer
$55.0
Siemens 7.5L40  Linear Array Probe Transducer  pictureBalluff Micropulse Transducer BTL5-P1-M0762-P-KA05 Brand new unused 762mm
$675.0
Balluff Micropulse Transducer BTL5-P1-M0762-P-KA05  Brand new unused  762mm pictureHP 21222A Non-Imaging CW Pencil Transducer Ultrasound Probe 1.9mhz Sonos 5500
$29.99
HP 21222A Non-Imaging CW Pencil Transducer Ultrasound Probe 1.9mhz Sonos 5500 picture






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