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

BlackBerry Push Development

Reply
Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10

PUSH Notification display

Hi All,

In Our application we will do BES push. Can you any one please suggest me how I can write a listener for that. I had worked on push long time back. (Browser and message based). Following are my requirement

  1. If the push is message based than it is possible to open native application from the message?
  2. How to show the notification on the application Icon if I am using Content base push.
  3. I need code to show notification at home screen or application icon.

Please share some Document for BES push also. 

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: PUSH Notification display

Hi there,

 

For #1 this is possible if you do some Browser filtering which launches your application

2 & 3: You can use the HomeScreen API to change your icon to one with a splat notification displayed

Garett
@garettBeuk
--
Goodbye everybody!
Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10

Re: PUSH Notification display

Can you please share any document/blog so I can find the implementation? 

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: PUSH Notification display

For #1 check out the HTTPFilterDemo included with any BlackBerry JDE.

 

For #2 the API is pretty straightforward, just call HomeScreen#updateIcon() and pass in the new icon Bitmap. Would likely be easiest to include the new Bitmap as a resource within your app.

Garett
@garettBeuk
--
Goodbye everybody!