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.
10-06-2011 11:41 PM
I have a webworks app.
My push is on a background start page. And I have a different home page as the foreground start page.
Now my registration alert comes up "null" after each start of app 2 or 3 times then "success" when I run it as a foreground start page.
So when its in background start page setting does it reload ever now and then or only once? And if once and that time is "null" I will never have a success registration.
Should I put my push in both the background page and the foreground page? or am I missing something?
10-24-2011 09:16 AM
Have you made any head way with this?
I am using a similar approach. It works on 1st install but subsequent notifications after reading the first notification seems to not fire off. I even tried putting it on an onExit event....I'm not sure whats going on
10-24-2011 12:33 PM
Well....no what I have done is on the home page (index.htm) I did made a main function that loads on body. In that I call the openBISPushListener first then my other methods. It seems to be working fine even if the app is closed
10-24-2011 02:52 PM
hmmm actually this is the part that puzzles me... Does it automatically open your app? because What I do is upon recieving the notification I showBannerIndicator()
So the user will have to manually open the app....
However I note that AFTER the first push notification I am unable to recieve any more without "re-installing" the app.
11-03-2011 04:29 PM
11-17-2011 03:30 PM
You can set your wakeuppage to requestForeground() on some <body onload=> or init() function. This would effectively bring your app into the foreground on a push.