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
Developer
Posts: 178
Registered: ‎08-26-2009
My Device: Not Specified
Accepted Solution

Application focus

Hi guys,

 

Is there any way to know when the application gains focus and when the application loses focus? Like if the application is running and the user hits the end key, the application is pushed into the background?

 

Thanks in advance

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

Re: Application focus

the activate and deactivate methods of UiApplication

----------------------------------------------------------
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: 178
Registered: ‎08-26-2009
My Device: Not Specified

Re: Application focus

thank you simon!