LiveCode 5.5

by Ben Beaumont on March 23, 2012 No comments

This version brings you the all new field, with it’s exciting new text handling abilities and Unicode improvements, and no less than 15 new features on Android, and 8 for iOS, largely bringing these two platforms into line with each other.

To help you get to grips with the new features, we’ve created a series of new lessons. Take a look at how to style paragraphs, using the “flagged” property, displaying a table, or hierarchical list support.

For mobile there is a lesson on using custom URL schemes, and you can check out local notifications in this newsletter.

For a detailed discussion of the new Field features, please see this newsletter article.

Text Messaging for iOS and Android
Text messaging has been a much requested feature we’ve now added for you. Here’s how it works:

Use the command mobileComposeTextMessage to launch the default text messaging app.

mobileComposeTextMessage recipients, [body]

The recipients is a comma separated list of phone numbers you want the message to be sent to. The optional body is the content of the message you wish to be sent. Note that once you’ve called the mobileComposeTextMessage command you have no more control over what the user does with the message – they are free to modify it and the addresses as they see fit.

Upon completion of a compose request, the result is set to one of the following:

  • sent – the text was sent successfully
  • cancel – the text was not sent, and the user elected not to save it for later
  • failed – the text could not be sent
  • false – the device does not have text messaging functionality

You can determine if the device has the text messaging client configured using the function
mobileCanComposeTextMessage(). This returns true if the client is configured.

Mobile Features Added
New features on both iOS and Android include:

  • Rotation sensor
  • Local notifications
  • Custom URL schemes
  • Text messaging
  • Vibration
  • Busy indicators

Features new to Android that iOS already supports include:

  • Native browser control
  • Modal pick wheel support
  • Date picker support
  • GPS
  • Compass
  • Multi-channel sound
  • Beep
  • Custom fonts
  • Idle Timer configuration
  • Localisation calls

Important: The file format in this release has changed to allow us to better support the new field and unicode features. This means that if you wish to retain compatiblity with older versions of LiveCode, you must save your projects by choosing “Save As… legacy format” in the File/save menu.

Ben BeaumontLiveCode 5.5

Join the conversation

*