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

Native Development

Reply
Developer
Posts: 91
Registered: ‎09-25-2012
My Device: bb10 alpha
My Carrier: free
Accepted Solution

Notification Action in my App

I followed this tutorial : https://developer.blackberry.com/cascades/documentation/device_comm/notifications/index.html

And it works greate to manage notification with the system. 

However , I want to add a notification action button as they show here . How ?

a lover of Qt
Highlighted
Developer
Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
My Carrier: Telekom.de, O2, Vodafone

Re: Notification Action in my App

so you mean the splash notification on a Tab

 

you can do it from QML easy:

yourTab.newContentAvailable = true

 you can also set a Counter on the Tab:

yourTab.unreadContentCount = yourTab.unreadContentCount + 1

 

ekke

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner