View Single Post
  (#4 (permalink)) Old
euskalhenriko Offline
New Member
 
Posts: 7
Join Date: Apr 2008
Model: 8300
PIN: N/A
Carrier: Vodafone
Question 04-17-2008, 10:37 AM

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
   
Reply With Quote