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

Android™ Runtime Development

Reply
New Contributor
jonp4231
Posts: 5
Registered: ‎12-11-2012
My Device: Developer
My Carrier: None

How to launch the email client

How do you launch the email client? In Android, we could do the following:

 

String[] email = new String[] { "someperson@someplace.com" };

Intent intent = new Intent(Intent.ACTION_SEND);

intent.putExtra(Intent.EXTRA_EMAIL, email);

intent.putExtra(Intent.EXTRA_SUBJECT, "Email Subject goes here");

intent.setType("text/csv");

startActivity(intent);

 

But this logic does nothing, no exceptions, no display.

Please use plain text.
BlackBerry Development Advisor
mwhiteman
Posts: 159
Registered: ‎11-21-2008
My Device: BlackBerry 10
My Carrier: Rogers

Re: How to launch the email client

If you are using a BlackBerry 10 Simulator or Dev Alpha, this is expected as BlackBerry Hub is not included with the SDK builds.

 

More information on the supported features can be found here: http://developer.blackberry.com/android/documentation/bb_runtime_release_notes.html

 

Cheers,

Matt

Matt Whiteman
Product Manager, Android, BlackBerry Java & Simulators
Please use plain text.