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

Java Development

Reply
New Developer
masterT
Posts: 11
Registered: ‎07-18-2008
My Device: Not Specified
Accepted Solution

Programmatically detect a push browser channel

Hello,
when a server makes a push browser channel, an icon shows up in blackberry home screen. Is there any way to detect that push programmatically?
Thanks.
BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Programmatically detect a push browser channel

No, there are no methods that expose this event.  What action(s) did you want to take when this occurs?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
masterT
Posts: 11
Registered: ‎07-18-2008
My Device: Not Specified

Re: Programmatically detect a push browser channel

I want to alert the user (with a different sound or alarm, if possible) when a push browser channel is made.

As a result, he will know immediatly when a new push is made and not only when he looks in to the blackberry home screen.

Is this possible to do?

Thanks.

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Programmatically detect a push browser channel

You can do this by setting the priorty of the push.  To do so you'll need to use the X-Rim-Push-Priority header.  You can read about this in the BlackBerry Browser - Content Developer Guide found here:

 

http://na.blackberry.com/eng/support/docs/subcategories/?userType=21&category=BlackBerry+Browser

 

 

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
masterT
Posts: 11
Registered: ‎07-18-2008
My Device: Not Specified

Re: Programmatically detect a push browser channel

Thanks MSohm, it works great :smileywink: