facebook

On Click – Send Email SOLVED

💡
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 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #338812

    Stu Wade
    Member

    This is truly and utterly bizarre!

    phoneui.composeEmail('Ad Hoc Bridge',$('#m1-Chicago-Report').val(),'','','',true);

    for me – works perfectly!!!!

    I have no idea of what is going on, but I am currently a happy bunny!

    @ Octavio – please don’t tell me I just got lucky again!

    #338828

    Publio Decio
    Member

    Hello Stu & Octavio

    this is my code:

    $(‘#ac-mtcmail-textArea1’).val(
    ‘<body><p>Torneo: <br />del: <br />ore: <br />Match: <br />Superficie: <br />Score: <br /></p><p> ** ANALISI DEI MIEI COLPI ** <br /><ul><li>Servizio (1): …seleziona… (2): …seleziona…</li><li>Risposta (1): …seleziona… (2): …seleziona…</li><li>Dritto (Fondo Campo): …seleziona… (Attacco): …seleziona… (Difesa): …seleziona…</li><li>Rovescio (Fondo Campo): …seleziona… (Attacco): …seleziona… (Difesa): …seleziona…</li><li>Volley (Fondo Campo): …seleziona… (Attacco): …seleziona… (Difesa): …seleziona…</li></ul><br />Commento partita: </p> </body>’);

    phoneui.composeEmail(subject,$(‘#ac-mtcmail-textArea1’).val(),email,”,”,true);

    }
    catch(e)
    {
    alert(e.message);
    }

    Running the program aborts, without even return exception.
    I’m using version 2.5 and build number is 3723022

    thanks for the help, it is the final piece useful to the publication of my 6 app.

    Alessandro

    #338829

    Stu Wade
    Member

    Hi Alessandro,

    They say the “Devil is in the Details” so let us try and find all the differences between my code and yours …

    1) My App is iPad only and has only been tested on the iPad
    2) My content starts with the <html> tag – shouldn’t matter but …
    3) I make no attempt to catch exceptions – again shoudn’t matter …

    I cannot see any other differences, but would be willing to share more code if we can’t track this down.

    #338830

    Publio Decio
    Member

    Thank
    You said me your mobione version?

    My app is only for iphone not 4 android

    Bye
    Alessandro

    #338831

    Stu Wade
    Member

    I’m using MobiOne 2.3.2 (hot-fix 1, 20130425).

    I have tested that the XML <br /> rather than the HTML <br> make no difference.

    My text string starts: ‘<!doctype html><html lang=”en-GB-x-bt”><head ><style type=”text/css”> p { font: 14pt/16pt “Lucida Typewriter”, Monaco, Prestige, “Courier New”, monospace }</style></head><body>’

    There could be differences between the way in which the iPad and iPhone handle these calls – Octavio?

    #338842

    Publio Decio
    Member

    solved
    the html code is exact with the <html> <body>:

    Perfect use would be useful to have the ability to attach a file

    bye
    Alessandro

    #338843

    Stu Wade
    Member

    I am happy for you, Alessandro!
    Now we can both complete our Apps.

    #339431

    Publio Decio
    Member

    It ‘great and works perfectly with IOS some ideas for ANDROID?

Viewing 8 posts - 16 through 23 (of 23 total)
Reply To: On Click – Send Email SOLVED

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