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
brsengar
Posts: 70
Registered: ‎04-20-2012
My Carrier: Vodafone

Re: Invoke doesn't get called when window is going to be inactive

Tried with no luck unfortunately :-(

Please use plain text.
Developer
BBSJdev
Posts: 4,906
Registered: ‎07-05-2012
My Carrier: Orange

Re: Invoke doesn't get called when window is going to be inactive

[ Edited ]

Seems like this has now been confirmed as intended behaviour, as we suspected.

 

http://supportforums.blackberry.com/t5/Cascades-Development/Sending-invocation-while-not-in-Foregrou...

 

@brsenger you can check the roadmaps probably most relevant to you here,

 

http://developer.blackberry.com/native/downloads/roadmap/

 

http://developer.blackberry.com/cascades/download/roadmap/

 

 

 

 

 


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Developer
brsengar
Posts: 70
Registered: ‎04-20-2012
My Carrier: Vodafone

Re: Invoke doesn't get called when window is going to be inactive

Thanks BBSJdev for sharing information.

Please use plain text.
Developer
brsengar
Posts: 70
Registered: ‎04-20-2012
My Carrier: Vodafone

Re: Invoke doesn't get called when window is going to be inactive

@BBSJdev: I agree to the fact that background app cannot invoke any application.. however, in my case, my application is not in background yet and sending invocation, unless the API indicates that application is already in background but the event is just for our information :-(

Please use plain text.
Developer
BBSJdev
Posts: 4,906
Registered: ‎07-05-2012
My Carrier: Orange

Re: Invoke doesn't get called when window is going to be inactive

You're welcome feel free to use the like button if you feel I've helped, although I haven't given you a solution sorry.

 

I'd say minimising and a dying app are pretty equivalent both are not going to get any user interaction.

 

Personally I don't think you are going to get any further on this so maybe worth closing off this thread and revisiting again when headless apps are released, up to you.

 


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Developer
brsengar
Posts: 70
Registered: ‎04-20-2012
My Carrier: Vodafone

Re: Invoke doesn't get called when window is going to be inactive

@BBSJdev: I should have liked it earlier... apologies for you reminding me of that :-(

 

I have got an alternate to do it, using Push and Invocation method.. when app is going in background it can send a http request to server (I hope I can send http in background - need to make sure I can do it) and then server can probably push a message and hopefully i can bring app to foreground (not sure if I can bring application to foreground with server push message)...

 

Thanks for your continued help

Please use plain text.
Developer
BBSJdev
Posts: 4,906
Registered: ‎07-05-2012
My Carrier: Orange

Re: Invoke doesn't get called when window is going to be inactive

[ Edited ]

There are a few threads along similar lines on this and by extension probably lots of people interested in doing this.

So if you do get something working post it up.

 

 


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.