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

Web and WebWorks Development

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.

Trusted Contributor
Posts: 100
Registered: ‎01-13-2012
My Device: Simulator - 9800
My Carrier: Simulator

Push Notification from PHP

I need to push a notification to the home screen when a new entry is added to our database. There is a PHP file on the server which adds entries into the database. How would I have the PHP file link to the push feature?


I have been looking at http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-Create-a-Push-BlackBerry-... to try to get an understanding of push but I am not proficient with Java for the most part so I don't understand that portion. I would ideally need to just push a number, indicating how many notifications there are. For example:


PHP file adds 3 entries --> pushes the number "3" --> my listener.html file of the app receives the "3" and does 

blackberry.app.showBannerIndicator('images/icon.png', "3");


Would anyone know how to do this? Thanks.

Posts: 222
Registered: ‎11-05-2011
My Device: Z10
My Carrier: Beeline

Re: Push Notification from PHP

If RIM can provide server side functions of Natification API with PHP it's can help us developers using that API --> and it can.give.more.quality.Application to platform using that API.