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
New Developer
Shikha_Pandey
Posts: 37
Registered: ‎07-13-2014
My Device: Z10

Create a custom MessageFolder and add messages in it

[ Edited ]

Hi All,

 

I have a QList<Message>which contains list of messages.

 

I want to add them to phone using messageService.

 

How can i custom MessageFolder with custom name. I can't find any method for adding a new custom folder and adding messages to it.

 

https://developer.blackberry.com/native/reference/cascades/bb__pim__message__messagefolder.html

 

Also in case we create new messages there is no option to add them in phone. If we look into messageService api provided there is only 1 method save as:-

 

https://developer.blackberry.com/native/reference/cascades/bb__pim__message__messageservice.html#fun...

 

This method only saves the message to draft. However if i wish too add messages to  a new folder created there is not way in blackberry cascades.

 

Please suggest.

  

Thanks & Regards