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
testinz
Posts: 173
Registered: ‎09-03-2012
My Device: Blackberry 10
Accepted Solution

Add app to email share menu

Just wondering how do you add an application to the email share menu?

 

Aka open the menu on an email, click on the share button and then select the program?

 

Thanks!

Please use plain text.
Developer
BBSJdev
Posts: 5,948
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
My Carrier: Orange

Re: Add app to email share menu

Check out the 'Add your application to the platform section' of this document...

 

http://developer.blackberry.com/native/documentation/cascades/device_platform/invocation/menus.html


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Developer
testinz
Posts: 173
Registered: ‎09-03-2012
My Device: Blackberry 10

Re: Add app to email share menu

I don't see how you can integrate to share in email though.

Aka in Hub, click on the email, share, pick share to your application.
Please use plain text.
BlackBerry Development Advisor
sabdelsayed
Posts: 249
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10
My Carrier: Bell

Re: Add app to email share menu

Hi testinz,

 

Here's a sample app that demonstrates how to make your application an invoke target for other apps to invoke it:

 

https://github.com/blackberry/Cascades-Samples/tree/master/invoketarget

@SamarAbdelsayed

Did this answer your question? Please accept post as solution.
Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
BlackBerry Development Advisor
erahnenfuehrer
Posts: 85
Registered: ‎05-25-2012
My Device: Limited Edition Z10
My Carrier: Bell

Re: Add app to email share menu

Hi testinz, there is no general Share option in the Hub.  The only Share option in the context menu in the Hub is to share with BlackBerry Travel (an internal app).

 

You could get to the Share card in the hub if you highlight text within an email.  To add your app to this list use the sample app listed above and register for handling plain text.

Please use plain text.
Developer
hrbuckley
Posts: 38
Registered: ‎10-13-2010
My Device: LE Z10
My Carrier: Virgin Mobile

Re: Add app to email share menu

Doesn't this break the general sharing paradigm?

 

There has been considerable talk on a user support site recently about the need for a way to be editing multiple email messages at a time. Currently one can share an email with Remember by flagging it, then view and respond to the message through Remember, and compose or reply to message in the Hub. But that is still only two.

 

I had the idea it would be fairly easy to right an application to accpet messages as a shared from the hub and allow the user to have multiple responses open for editing. But if the Hub will not share messages with an application that advertises the appropriate share target, then the BB10 sharing paradigm is broken.

Please use plain text.