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

Web and WebWorks Development

Reply
Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom
Accepted Solution

How do we write messages in the hub?

A notification icon at the top works for most use cases, but if we get messages via our app, how do we make sure those are shown in the hub, along with all the other messages?

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Carrier: TMN

Re: How do we write messages in the hub?

I guess that will be explained in the next version of the SDK, where PIM:Messages is already included :smileywink:

Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


Please use plain text.
Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: How do we write messages in the hub?

[ Edited ]

Actually PIM:Messaging is to CRUD emails.

 

I've just re-read the BB10 notifications API and its description say it will do just what I enquired about:

"The Notification API allows you to create a notification object in Universal inbox for BlackBerry 10."

https://developer.blackberry.com/html5/apis/notification.html

 

I got confused because it works differently on the PLayBook. I guess the hub is then responsible to add an icon at the top and on the home screen icon.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Carrier: TMN

Re: How do we write messages in the hub?

When you said "messages" I thought you were referring to "real" messages :smileywink:

for everything else, yep, you got it right

Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


Please use plain text.
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Carrier: TMN

Re: How do we write messages in the hub?

PS, can you test that in the Dev Alpha? (since the HUB is not yet available...)
Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


Please use plain text.
Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: How do we write messages in the hub?

Good point, we can't atm... but I'm curious to see if we still get the other benefits :smileyhappy:

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.