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

Adobe AIR Development

Reply
New Contributor
funkyboy
Posts: 9
Registered: ‎01-18-2013
My Device: BB10 DevB

mailto not working?

Hi,

 

I am using this code

 

navigateToURL(newURLRequest("mailto:test@yahoo.com?subject=Question"));

 

to open native mail client but it does not work (= mail client does not open).

 

Code is attached to a click event.

I have a trace statement in place, and I am sure the click is triggered.

I am testing on real device.

Device has one email account correctly configured (and set as default account)

SDK used 3.0

 

Any suggestion?

 

 

Please use plain text.
Developer
Developer
mdd
Posts: 225
Registered: ‎01-17-2012
My Device: PB

Re: mailto not working?

can you open the email client manually?  There isn't one on the simulator...

Please use plain text.
New Contributor
funkyboy
Posts: 9
Registered: ‎01-18-2013
My Device: BB10 DevB

Re: mailto not working?

[ Edited ]

I am testing my app on a real device (no simulator). 

When I test it on the desktop the default mail client gets opened correctly.

Since the real device has no mail client, should I trust it will work in the final version of the BB OS?

 

Please use plain text.
Developer
Innovatology
Posts: 1,280
Registered: ‎03-03-2011
My Device: Playbook, Z10, Q10, Z30 with Files & Folders and Orbit of course

Re: mailto not working?

The mailto: prefix works on PlayBook, so I'd be very surprised if it didn't work on BB10.

Files & Folders, the unified file & cloud manager for PlayBook and BB10 with SkyDrive, SugarSync, Box, Dropbox, Google Drive, Google Docs. Free 3-day trial! - Jon Webb - Innovatology - Utrecht, Netherlands
Please use plain text.
New Contributor
funkyboy
Posts: 9
Registered: ‎01-18-2013
My Device: BB10 DevB

Re: mailto not working?

I'd too.

Let's see what happens when the official OS version is released.

Fingers crossed :smileyhappy:

Please use plain text.