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-28-2012 03:35 AM - edited 03-28-2012 03:45 AM
My webworks app can handle push notifications fine when in background or foreground. However, push notifications seems to be queued up when the app has exited. It makes sense since there is no executing code.
When I relaunch the app, and the listener starts again all the messages do get delivered.
Is it possible to have the app process a notification receieved when the app has exited by means of a registration with the system?
If the wakeup page is the mechanism to do this, it seems not to be working in my single page app. Can someone post sample code using the openBISListener and their config file with all the properties that are needed for wakeup to work. How should we specify the relative path for the html page?
03-28-2012 11:08 AM
Yes this can be done by leveraging the notification manager... The first time your app runs, have an extension that registers your app with this service on the device and you will be able to have incoming messages recieved and acted upon even when you application isn't running...
03-28-2012 02:16 PM
This is a question about a webworks application, not a native java application. Is the notification manager available to a webworks application as well?
03-28-2012 02:31 PM
Out of the box, no this isn't in the API's...
But here is a community API which may work for you: https://github.com/blackberry/WebWorks-Community-A