If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
thubalek
Posts: 318
Registered: ‎10-01-2012
My Device: Dev Alpha C, Playbook 32 GB
My Carrier: BleskMobil

Trivial example how to invoke email composer

Hello,

 

I'm going to add button with "Provide feedback" function into my app and I didn't found sample code how to invoke Email Composer with prefilled email address and subject.

 

I guess it needs to be done by https://developer.blackberry.com/cascades/reference/bb__system__invokemanager.html but it is a bit difficult to test it if there is no email client in current version of Dev Alpha.

 

I believe that such a code snippet could be useful for other developers too.

 

Thanks

Tom 

--------------------------------------------------------------------------------------------
-- My Blackberry 10 app at http://blackberry.hubalek.net
-- My Android apps at http://android.hubalek.net
Please use plain text.
Developer
ekke
Posts: 1,439
Registered: ‎04-08-2010
My Device: Z10 (red Limited Edition), Q10, Z30
My Carrier: Telekom.de, O2, Vodafone

Re: Trivial example how to invoke email composer

hopefully Beta 4 will include an email client

 

I know that the InvocationFramework-team is working on better documentation and let us know aboput all the needed target id's provided by system applications

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

Open Source Enthusiast
blog: http://ekkes-corner.org videos: http://www.youtube.com/user/ekkescorner
bb10-development: http://appbus.org Twitter: @ekkescorner
Please use plain text.
Trusted Contributor
georg22
Posts: 245
Registered: ‎11-22-2011
My Device: Blackberry Playbook
My Carrier: vodafone

Re: Trivial example how to invoke email composer

Unfortunally in the Beta 4 documentation are no examples about how to invoke the email app. Currently there are some informations about other core apps, but email is still missing.

I need it for one of my apps too, so i have no idea what to do now.

 

Please use plain text.
Trusted Contributor
georg22
Posts: 245
Registered: ‎11-22-2011
My Device: Blackberry Playbook
My Carrier: vodafone

Re: Trivial example how to invoke email composer

Just read a recent tweet from Shadid Haque (RIM) where someone asked:

"Do you have any samples on invocation for email/pim on Cascades by any chance? Thanks!"

and he answered  :

"Unfortunately, not yet. Will have one once the parameters are finalized for all the pim apps"

Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Trivial example how to invoke email composer

Where are you seeing documentation on any of the core app for invocation?

RIM really needs to have a separate forum for invocation.
Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Trivial example how to invoke email composer

There's some here http://developer.blackberry.com/native/beta/documentation/app_integration.html and more under the new section here https://developer.blackberry.com/cascades/documentation/device_platform/invocation/index.html

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.