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
New Contributor
Posts: 3
Registered: ‎06-26-2013
My Device: BlackBerry Bold 9930
My Carrier: Verizon
Accepted Solution

BB7 app getting closed

We have a BlackBerry Java app running on 7.1.0.755 that is experiencing a problem.  Every several days, the device emits a loud “ding” and the app closes while the app is running in the foreground and the user is not using the app.  We tested the app and it doesn’t appear that the functionality of the app is shutting down the app.  We have two timer threads that appear to be working properly and not triggering a shutdown themselves.  (They are run daily and every minute.)  I have not retrieved the logs yet.  (I will next time it happens.)

 

Is it possible that the BB7 Application Resource Monitor is shutting down my app even though the app is running in the foreground?  Has anyone see this before?

 

I’ve gone through these links but wasn't sure if the Application Resource Monitor applied to foreground apps.

 

http://devblog.blackberry.com/2012/05/application-resource-monitor/

http://supportforums.blackberry.com/t5/Java-Development/My-app-has-been-closed-as-draining-resources...

http://supportforums.blackberry.com/t5/Java-Development/Application-Monitor-Why-is-my-app-being-kill...

 

Thanks.

Developer
Posts: 16,625
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: BB7 app getting closed

welcome to the support forum.
the application resource monitor should give you a prompt where you can exclude the app from being monitored.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Contributor
Posts: 3
Registered: ‎06-26-2013
My Device: BlackBerry Bold 9930
My Carrier: Verizon

Re: BB7 app getting closed

Thanks.  I did not see a prompt, but I may have been late getting to the device.  Otherwise do you think this could be the Application Resource Monitor -- loud ding and foreground app closing?

Developer
Posts: 16,625
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: BB7 app getting closed

yes, absolutely.
A crashing application would not make any sound.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter