Book Image

LiveCode Mobile Development Beginner's Guide (2nd Edition)

Book Image

LiveCode Mobile Development Beginner's Guide (2nd Edition)

Overview of this book

Table of Contents (15 chapters)
LiveCode Mobile Development Beginner's Guide Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – making the test bed stack


Before we create the iOS and Android apps, we should get what we want ready, as a LiveCode stack and fully test it on our desktop computers. The following steps are going to assume that you know how to do what is asked in LiveCode, without precise instructions.

  1. Open LiveCode, create a new Mainstack, and save it as LCTestBed.

  2. Set the screen size to 320 x 480. This is just to make sure that things appear on the smallest of screens. The things we will make, will appear at the upper-left corner area of the larger screens.

  3. We are going to make a button for each card in the stack; let's start by making a card named Menu.

  4. Add buttons for Email, Browser, DatePicker, and Picture. Make sure that the buttons are big enough to touch on your devices. You should have something like what is shown here:

  5. Create four new cards and name each one so that they match the button names.

  6. Back at the first card, set the script of each button to go to the matching cards with this...