navigator_invoke & mailto

I had successfully used this code to open an email with BC OS 2.0.x:

bps_initialize();
char *pError;
navigator_invoke(email.toUtf8(), &pError);
bps_shutdown();

However, my PB is now running the beta version 2.1 and it no longer works. Has anyone else seen elsewhere? I do not currently have the Simulator installed to test to make sure that it still works with 2.0.x (the Simulator still has the mail app?).

Thank you

NIC

Fixed with troubleshooting 101: restarted PlayBook!

Thank you

NIC

Tags: BlackBerry Developers

Similar Questions

  • navigator_invoke and Dev Alpha

    Hey,.
    so, I'm working with Dev Alpha and try to do simple things like composing email or tweet a message using navigator_invoke, but it seems that Twitter and FB is not available on Dev Alpha? as mailto: and messages: / / doesn't seem to work (error message is "notfound"), is because of Alpha A Dev and this kind of things will work only with Z10 or am I missing something?

    Device is updated, latest sdk, everything is up-to-date.
    Browser and BB world works in collaboration with navigator_invoke
    sample of what I was trying to do:

    navigator_invoke ("mailto:[email protected]?subject=Message&body=Blabla", &err);)

    and

    navigator_invoke ("messages: / /", &err);)
    It should open messages, right? but I just get notfound

    Thank you.

    EDIT:
    I found some similar topics (somehow missed before - sorry), it is possible that the documentation is up to date, I'll try to use it:
    https://developer.BlackBerry.com/native/reference/BB10/com.QNX.doc.bps.lib_ref/com.QNX.doc.bps.lib_r...

    kanaksony wrote:

    Hello

    It works in Dev Alpha.

    void EmailDemo::composeEmailAndInvoke() {
        bb::system::InvokeManager* m_invokeManager = new bb::system::InvokeManager(this);
        bb::system::InvokeRequest request;
    
        request.setTarget(QString("sys.pim.uib.email.hybridcomposer"));
        request.setAction(QString("bb.action.SENDEMAIL"));
        request.setMimeType(QString("message/rfc822"));
        request.setUri("mailto:[email protected][email protected]&subject=A%20Subject&body=That%20body");
        m_invokeManager->invoke(request);
    }
    

    Thanks, but I don't use of stunts, however I tried the equivalent of this natively:

    navigator_invoke_invocation_t *iRequest = NULL;
        navigator_invoke_invocation_create(&iRequest);
        navigator_invoke_invocation_set_action(iRequest, "bb.action.SENDEMAIL");
        navigator_invoke_invocation_set_target(iRequest,"sys.pim.uib.email.hybridcomposer");
        navigator_invoke_invocation_set_type(iRequest,"message/rfc822");
        std::string URI = "mailto:[email protected][email protected]&subject=A%20Subject&body=That%20body";
        navigator_invoke_invocation_set_uri(iRequest,URI.c_str());
        navigator_invoke_invocation_send(iRequest);
    

    now the composer opens, but the fields are empty, but at least something happened!
    But what of FB and Twitter?

    EDIT: fixed code, now fields are filled!

  • messages navigator_invoke: / / with attachment?

    Hello BB NDK Devs.

    We are trying to call navigator_invoke() to generate an e-mail with an attached user application file. Unfortunately, this does not appear to be described in the messages: / / Protocol in the navigator_invoke() documentation. Are there additional parameters to do this as messages://attachments=.

    Thank you!

    You can do this using mailto instead of messages. Check the syntax here:

    http://forums.mozillazine.org/viewtopic.php?f=30&t=1172555

    NIC

  • Bug: Open a link mailto: link Assistant account as if I don't have an account

    Thunderbird has stopped opening the new Message dialog box when I click on mailto: links in the browser. Instead, he opens the dialog on the screen.
    Of course I have configured server outbound and this problem is a bug.

    No, it isn't, only of Thunderbird.
    Now, I edited the associations manually in the registry, change "... \App\Thunderbird\thunderbird.exe" to "... \ThunderbirdPortable.exe" and that solved the problem.

  • Mailto doesn't work after updating FF 42.0

    Mailto doesn't work after my last update. The entrance of mailto is not under Tools > Applications and there is no drop-down list to add an entry. My default e-mail program is Windows Live mail.

    Hmm, mailto certainly should not be missed.

    Sometimes, the file that stores these actions of the Manager/download application is damaged. As it is difficult to change, when there is a problem, we offer usually when you rename the file and allows Firefox to rebuild the Windows registry. Who cannot help if mailto is missing from the registry, but I think it's worth a try:

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • (menu bar) Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.

    Leave this window open, switch back to Firefox and output, either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Break while Firefox finishing his cleaning, then rename the mimeTypes.rdf to mimeTypes.old (or another name of your choice, in the case where you decide to roll back this experience).

    Launch Firefox back up again and return to the Options page to specify your preference. Mailto appears once more?

  • MailTo lance pointed the browser Google, instead of Mail

    When I click on a mailto link, it used to make my request to Apple Mail open, but now a browser launches and points directly to Google mail. How can I get rid of this and get back to the Mail application?

    Tim Murray2 Hello,

    It seems that Google webmail is used as the default email for your Mac application. No worries, you can easily get this set up in no time. Have a look on the link below to learn how.

    Set the default e-mail on your Mac application and web browser

    Following the steps above you will be using Mac Mail default again. Please use the Apple Support communities for help with your question.

    Good day.

  • Mailto are not

    When you try to set the mail client by default Firefox (Menu-> Options-> Applications-> Content Type) "mailto" is not a listed option. I don't know how to set this if it is not listed as an application or how to recreate as a "content type". Any suggestions?

    It's strange, I think it should always be included in a new installation. If you use the search above the list box, you have a better chance if you just type my instead of mailto?

    If you have been under Firefox for a while, it is possible that the file that stores your Application preferences may become corrupted. Because the file is difficult to change, we generally recommend remove/rename the file and have Firefox generate a new. Here's how:

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • (menu bar) Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table of the page, click on the view file"" button. This should start a separate window listing the different files and folders.

    Leave this window open, switch back to Firefox and output, either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Pause while Firefox finishing his cleaning, then rename the mimeTypes.rdf to something like mimeTypes.old

    Launch Firefox back up again. Mailto send?

  • Thunderbird is a hidden ' mailto: ' line in each email address I put in the body of my message. It screws the processor end on the mail server I maintain upward

    I maintain a club email list by sending plain text commands to him such as:

    Subscribe to [email protected] members

    (If you're old enough you get an idea of which continues to use the web master).

    Thunderbird started attaching an invisible "mailto:" in front of each of the email addresses in my orders and the remote server rejects them. I see these hot links in my sent folder to outgoing mail.

    I have disabled HTML processing and tried to send text only, but hyperlinks are always there in my copy sent the message in plain text box.

    I have POP my mail for some reason, more even than just my own convenience.

    What is going on?

    -russest

    Use ctrl + u to see the source of the message. I think that you will find no sign of the mailto: source, which means it is added to display the link for you. Since it is internal and private to Thunderbird (unless you can prove that it really is in the source of the message), then I don't see how it affects your server. Your server is not looking at Thunderbird, is it?

  • Clicking on a mailto: link using the wrong account to send an e-mail. Is it possible to designate a default account?

    I have several accounts that I use in thunderbird. Everything works fine and I have no problem at all. But when I am on the web and click on a "mailto:" link on a Web site, Thunderbird always opens the new e-mail window using the first account in the "stack". I never use this account to send mail... I want to use another account but cannot figure out how twell TB that is.

    At the top e-mail account is the default e-mail account.

    Tools > accounts settings
    or
    Right-click on the name of the e-mail account, and then select "settings".

    Select the desired default mail account name.
    Click on "Account Actions" to get the drop down options
    Click on "Set as default"
    Click OK to save the changes.

  • mailto app does not work

    When I click on an email my open email which is ATT but its yahoo on so my yahoo mail server after it opens the e-mail address that I clicked on does not appear in the TO space when I had this problem last time I posted here, but these measures did not work this time by going to: config change the email to http://compose.mail.yahoo.com/?To=%s

    Here is a URL which should work, but it must be customized for your particular Yahoo e-mail server:

    .mail.Yahoo.com/neo/launch?action=composeus-GT4https:// & verse = %s

    The bold part needs to be changed to match your mailbox. Please try this:

    (1) select and copy the following line of script

    navigator.registerProtocolHandler('mailto','https://us-mg4.mail.yahoo.com/neo/launch?action=compose&To=%s','Yahoo 2014');
    

    (2) open your Yahoo mail and then in this tab, open the Web Console by using one of the following methods:

    • CTRL + SHIFT + k
    • button '3-bar' menu > developer > Web Console
    • (menu bar) Tools menu > Web Developer > Web Console

    A small area should open under the current page.

    (3) paste the script next to the circumflex accent (> >) and change the server address to match your specific mail server. It must match or Firefox will block the script.

    Then press the Enter key to run the script.

    An information bar should open at the top of the page. Click 'Add Application'. You can now close the Web Console using the same methods you used to open it.

    If instead of an information bar, the Web Console displays 'Not allowed to save a protocol for mailto handler' then you may need to pass a parameter into the subject: config editor preference. More below the jump.

    (4) test, for example: mailto:[email protected]

    I see a significant backlog of what seems like 5 seconds or more until Yahoo display new message with this address. I don't know why it takes so long.

    Success?

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste the mailto and make a pause so that the list is filtered

    (3) if the preference Network.protocol - handler.external.mailto is bolded and "user set" false, double-click it to true.

  • MAILTO OPENS A NAVIGATION PAGE ON OUTLOOK...

    I just changed the associated application for MAILTO to OUTLOOK (2007). When I try to send a link by e-mail, he opens a new PERSPECTIVE and tries to navigate? Then, I got the message of THE PAGE WEB BROWSING has BEEN CANCELLED

    In the Options dialog box, you selected "Use of default Microsoft Outlook ()", or you have configured Outlook 2007 as a new application? (Change the program used to open links from email)

    If you configure a new application, it is possible that there are some missing settings. If possible, go to the "use Microsoft Outlook (default)" and see if it works.

  • How to establish Manager mailto hotmail?

    We can define mailto to be handled by our web mail, gmail or yahoo email accounts. But I want to hotmail /outlook.com

    That's how get you gmail/yahoo mail:

    [IMG] http://img.Photobucket.com/albums/V135/noitidart/how20to20use20hotmail_zpsb12baf06.PNG Line

    There is another option, but that POP open a mailto form weird.

    See:

  • I can't open mailto links in external Web sites.

    When I click on an e-mail link in some sites, it is said there is no application to open the mailto link. I went in the help menus, where I am asked to find the mailto function and add an application. It has no mailto feature in the list, so I can't link an application. It seems that my firefox has no knowledge of mailto. I don't get one local yahoo like any other. What should I do? I have Firefox 20.0.1and gmail and windows 7.

    Then in the dialog box Options, Applications Panel, mailto does not appear or is not any choice? This could indicate that the settings file that stores download actions is corrupt. Because its format is somewhat cryptic, the standard drug in this situation is to rename if Firefox cannot find and then a new one will be automatically generated.

    Here's how:

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • Menu help > troubleshooting information

    In the first table of the page, click on the view file"" button.

    Leave this window open, switch back to Firefox and output, either:

    • "3-bar" menu button > button "power".
    • File menu > exit

    Pause while Firefox finishing his cleaning, then rename the mimeTypes.rdf to something like mimeTypes.old

    Launch Firefox back up again. Mailto appears in the Options?

    The next time go you on Yahoo he expected to trigger Firefox to display an information bar between the lower part of the toolbar and the top of the page to add the latest version of its mailto handler.

    A little luck?

  • Firefox launches Zimbra Desktop for mailto links

    Windows 7 Home Premium 64-bit Core 2 Duo

    Run Firefox 26.

    Installed Zimbra Desktop Email client, when I click on mailto links, it offers only Yahoo and Gmail.

    In IE and other programs Zimbra launches when I use these programs messaging features.

    Zimbra is set to the default e-mail client.

    Also curiously the download button in the upper right does not work, I can see downloads but when I click the button nothing.

    Usually Firefox will be check out your email client by default in the registry or a good highlight.

    Sometimes the file that stores the file associations is damaged with updates and either conflicting entries correctly. The solution is simply to rename the file and have Firefox regenerate. If you want to try, here's what you do.

    Open your current Firefox settings (AKA Firefox profile) folder using

    Help > troubleshooting information > "view file" button.

    Leave this window open, wwitch back to Firefox and output

    Pause while Firefox finishing his cleaning, then rename the mimeTypes.rdf to something like mimeTypes.old

    Restart Firefox. I hope that now Zimbra is detected and you can select. Please note that if you already changed your configuration to a PDF file from the viewer into another, you have to change it again.

    References:

  • System default mail client (Thunderbird) does not appear in mailto applications.

    I use Thunderbird as the application mailto in Firefox. The only options listed for mailto are GMail, Yahoo mail, always ask and choose application. Use default does not appear.

    I solved this. By clicking on "other use" in applications of mailto, 'Cancel' when a window opens to select the application, and then clicking on one application other than mailto, and the e-mail client default system is selected. A user little seems hostile. I use Firefox 24 under Ubuntu 13.04 BTW.

Maybe you are looking for