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

Android™ Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums on April 1st. 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


Reply
Highlighted
Contributor
Posts: 19
Registered: ‎02-14-2013
My Device: 9360
My Carrier: du
Accepted Solution

Push Notification (Hub icon)

Hello,

 

I am able to generate the push notification using C2DM, my notifications comes under the notifcations category. Currently the notification showing the alarm icon, I want to use my application icon instead of alarm icon on it. I can see skype is working like that. how can I use my application icon in Blackberry Hub ?? I am using below code to generate the notification

 

 

NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(

this).setSmallIcon(R.drawable.icon)

.setContentTitle("Test")

.setStyle(new NotificationCompat.BigTextStyle().bigText(msg))

.setContentText(msg);

mBuilder.setAutoCancel(true);

Retired
Posts: 159
Registered: ‎11-21-2008
My Device: BlackBerry 10
My Carrier: Rogers

Re: Push Notification (Hub icon)

Hello,

 

Currently custom icons for alerts are not supported in the Android Runtime. This is something we are looking at supporting for future releases.

 

Thanks,

Matt

Matt Whiteman
Product Manager, Android, BlackBerry Java & Simulators