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
Super Contributor
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
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
BlackBerry Development Advisor
Posts: 249
Registered: ‎07-14-2008
My Device: Not Specified

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
Developer
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
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.