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
Developer
stevenhaggerty
Posts: 30
Registered: ‎03-03-2012
My Device: Playbook
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/ )
Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

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!
Please use plain text.
Developer
stevenhaggerty
Posts: 30
Registered: ‎03-03-2012
My Device: Playbook

Re: NAVIGATOR_EXIT event from different app.

Ah, always the way... Forgot to check the domain. All fixed now :smileyhappy:

 

Time to upload a new version to the store.

 

Thanks any way.

 

Steve.

 

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

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!
Please use plain text.
Developer
stevenhaggerty
Posts: 30
Registered: ‎03-03-2012
My Device: Playbook

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/ )
Please use plain text.