Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
monternet
Posts: 58
Registered: ‎08-05-2009

Re: How can an background App display a UIScreen?

I have suddenly found, that my App works only after installation. After a reboot(with power button), the background listener works, but it can no more automated display the UIScreen. So it works only half.

 

 

Have you any ideals with that?

Please use plain text.
Developer
peter_strange
Posts: 17,713
Registered: ‎07-14-2008

Re: How can an background App display a UIScreen?

Check the log, I suspect there will some king of Exception reported in there.

 

There are things that you can't do at start-up until the device has reached a certain state.  This is not a worry at initial installation, because the device is not in startup mode, which might explain why it works on installation but not on restart. 

 

You need to check ApplicationManager.getApplication().inStartup() (from memory).

 

Check the KB, there are couple of good articles in there that talk about this.

Please use plain text.