O'Reilly logo

LiveCode Mobile Development Beginner's Guide by Colin Holgate

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – calling the native e-mail application

We'll make some fields and a button to try out sending an e-mail feature.

  1. Go to the e-mail card and create four fields. Name them From, CC, Subject, and Body.
  2. Make a button named Test.
  3. In the Test button, type the following script:
    on mouseUp
       put field "To" into toText
       put field "CC" into ccText
       put field "Subject" into subjectText
       put field "Body" into bodyText
       revMail toText,ccText,subjectText,bodyText
    end mouseup
  4. Select the Run tool and type example information into each of the fields.
  5. Click on the Test button.

What just happened?

One neat thing about LiveCode syntax is that the code for mobile applications also works for desktop applications, and vice versa. All being well, when you clicked the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required