View Single Post
  (#9 (permalink)) Old
reshma1 Offline
New Member
 
Posts: 1
Join Date: Mar 2008
Model: 8700
PIN: N/A
Carrier: vodafone
Default hi - 05-09-2008, 01:56 AM

Quote:
Originally Posted by euskalhenriko View Post
The problem is that when i call pushscreen or requestforeground the blackberry still on startup process... (i set my project as run on startup).
I try with this
... instantiate the screen ...
while(ApplicationManager.getApplicationManager().i nStartup()){
try{
Thread.sleep(100); //without this i block the startup process
}catch(InterruptedException e){}
}
pushScreen(myscreen);
requestForeground();

and it work but it's horrible...
any better idea?
p.d. the application start normally but i need to start in foreground as first application
thanks I also got this trick work out for my application.
   
Reply With Quote