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.

inside custom component

Java Development

Reply
Contributor
Posts: 41
Registered: ‎11-15-2012
My Device: Curve 9320
My Carrier: Optimus

Re: run application in background

Yes I realize now why say it is already running, but was using the OnExit to stop. How then can I do to stop the GUILess when the user starts the application?

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: run application in background

Do you want to stop it?

 

If you do, then you have to retain a reference to it.  The easiest way to do this is to place a reference to it in RuntimeStore.  This KB article should help.

 

http://supportforums.blackberry.com/t5/Java-Development/Create-a-singleton-using-the-RuntimeStore/ta...