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

Native Development

Reply
New Developer
Posts: 27
Registered: ‎05-07-2014
My Device: bb10
My Carrier: Zensar Response Document

app icon goes disable on randomly closing

Hi,

i am working on a native application.whenever i closed application it randomly disable app icon in app list and when i restart it works fine.

is it because of resource releasing?

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

Re: app icon goes disable on randomly closing

yes, when the application closes it releases resources/memory, during that time the app icon will be grayed out. should usually be rather short.
----------------------------------------------------------
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 Developer
Posts: 27
Registered: ‎05-07-2014
My Device: bb10
My Carrier: Zensar Response Document

Re: app icon goes disable on randomly closing

it remains grayed when i close application.

when that situation arises after that on restart m able to open application.

Highlighted
Developer
Posts: 17,011
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: app icon goes disable on randomly closing


johny_kumar wrote:

it remains grayed when i close application.

when that situation arises after that on restart m able to open application.


that should not happen, but i have experienced it a few times. use the Target Navigator, select your application process and terminate it by sending the SIGKILL signal.

----------------------------------------------------------
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
Developer
Posts: 229
Registered: ‎10-19-2012
My Device: Playbook, BB10DevAlphaB/C, Z10
My Carrier: Sonera, Saunalahti

Re: app icon goes disable on randomly closing

Your application gets stuck somewhere when it gets closed. You need to check your app shutdown code for bugs.


Kaj-Michael Lang, Home.
Author of: Onki and RetroPlayer
New Developer
Posts: 27
Registered: ‎05-07-2014
My Device: bb10
My Carrier: Zensar Response Document

Re: app icon goes disable on randomly closing

how can i check closing bugs and release objects which i have created on app closing i have already done this in destructor.