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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
Developer
Posts: 30
Registered: ‎03-03-2012
My Device: Playbook
My Carrier: Blackberry
Accepted Solution

NAVIGATOR_EXIT event from different app.

Hi there,

 

I'm having a problem with our app "Fruit Blitz". Whenever the app is minimized, and (for example) the return key is pressed in the a launched app like the weather app, we get a NAVIGATOR_EXIT signal sent to our app, causing it to quit.

 

Is there an easy way of detecting whether the signal is intended for our app or not, so we can stop intercepting it?

 

Many thanks,

 

Steve.

-------------------------------------------------------------
Steven Haggerty,
Rubicon Development ( http://www.rubicondev.com/ )
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: NAVIGATOR_EXIT event from different app.

Are you looking at this solely as a workaround? Because the behaviour described seems like it absolutely must be an OS bug, as it makes no sense for that to happen. Have you reported it in the issue tracker?

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 30
Registered: ‎03-03-2012
My Device: Playbook
My Carrier: Blackberry

Re: NAVIGATOR_EXIT event from different app.

Ah, always the way... Forgot to check the domain. All fixed now Smiley Happy

 

Time to upload a new version to the store.

 

Thanks any way.

 

Steve.

 

-------------------------------------------------------------
Steven Haggerty,
Rubicon Development ( http://www.rubicondev.com/ )
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: NAVIGATOR_EXIT event from different app.

Hehe.. so which domain was it really from?

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 30
Registered: ‎03-03-2012
My Device: Playbook
My Carrier: Blackberry

Re: NAVIGATOR_EXIT event from different app.

"3" apparently, not sure exactly which one that is, but I know for a fact its !=navigator_get_domain() 

 

Steve.

 

 

-------------------------------------------------------------
Steven Haggerty,
Rubicon Development ( http://www.rubicondev.com/ )