facebook

mailto URL: error on iPhone

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #332216 Reply

    nundil
    Member

    Hello,
    in my iphone app (ipa file downloaded to iphone after build) i’m tryng to use following code:

    mailToUrl=’mailto:address@server.com?subject=Order ‘ + gadgetName + ‘&body=Sent from iPhone app’;
    m1Design[‘actions’][‘action76’]=function() { phoneui.showURL(mailToUrl, ‘_blank’, {}) };

    to in the pretransition function, to set the “mailto” action for a button.
    In the TestCenter it works, while on the iPhone pressing the button causes the error in the attached image.

    Any suggestion?
    Thanks, regards

    Attachments:
    You must be logged in to view attached files.
    #332233

    Hi nundil,

    The spaces in the url that might be causing the url to fail to load. Please try a quick prototype with no spaces in the constructed url

    #332241

    nundil
    Member

    Thank you, fixed! 🙂

    Regards

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: mailto URL: error on iPhone

You must be logged in to post in the forum log in