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.
03-12-2013 05:14 PM
I am trying to implement a service type of app, whereas if the user attempts to close, it should close but send an invocation to itself so that (hopefull) a new instance will be launched.
So far, i am able to send and receive message via invocations between two different apps, however no invocation is being sent (or received) when i use the sender specifies its own target name (i.e. "com.example.myself")
Is it a bug, or a security feature?
03-12-2013 06:28 PM
The invocation will be sent to the currently running app before the app has had a chance to shut down.
So I think what you are trying to do is currently not possible.
You would either need to delay the invocation signal until after the app dies or be able to run two instances of the same app, both of which I do not believe are possible at this time. In a later update when background services become available this may be possible.
03-12-2013 08:15 PM
Thanks BBJdev for the reply, and excuse my bad English
"In a later update when background services become available this may be possible." -- this sentence summarizes everything for me,
and I think it's a pitty that Blackberry OS 10 does not support such an essential feature at this point.
Hopefully, it will be added soon.