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