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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Super Contributor
JeffLemon
Posts: 391
Registered: ‎01-13-2011
My Carrier: NA

Sharing a file via SMS

m_pInvocation = Invocation::create(InvokeQuery::create().parent(this).mimeType("text/plain").uri(myfilepath));

 I use the above to invoke the share platform. It attaches my file to BBM ready for sharing.

 

My question is, when I click to share via SMS/text message it puts the text into the message box. I want to attach the file.

 

Does anyone know how to do this? I think it has something to do with mime type....

--------------------------------------------------------------------------------------------------
BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Please use plain text.
BlackBerry Development Advisor
shaque
Posts: 77
Registered: ‎07-14-2008

Re: Sharing a file via SMS

Hi,
The sms/mms invocation details are not available yet. But i expect them to go live on the page below in a week.

https://developer.blackberry.com/cascades/documentation/device_platform/invocation/invoking_core_app...

Shadid
Please use plain text.
Developer
borceg
Posts: 668
Registered: ‎03-21-2012
My Carrier: Vip

Re: Sharing a file via SMS

Correct me if I'm wrong, but SMS protocol only allows 140 octets = 140 * 8 bits = 1120 bits which approximates to ~160 Latin characters and I haven't heard yet for file attachments to it.
Please use plain text.