PacktLib: LiveCode Mobile Development Beginner's Guide

LiveCode Mobile Development Beginner's Guide

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

LiveCode Fundamentals

Background history and metaphors

You do have LiveCode, don't you?

Learning the lay of the land

Time for action – it's a drag, but you'll like it!

Creating a hierarchy

Time for action – making and navigating between cards

Making a simple calculator application

Time for action – making the calculator buttons

Other interface controls

Debugging

RunRev's online tutorials

Summary

Getting Started with LiveCode Mobile

iOS, Android, or both?

Becoming an Android developer

Becoming an iOS developer

Installing Xcode

Before we can make our first mobile app

Time for action – starting an Android virtual device

Time for action – adding a Kindle Fire to ADB

Time for action – using the iOS simulator

Appiness at last!

Time for action – testing a simple stack in the simulators

Time for action – testing a simple stack on devices

Further reading

Summary

Building User Interfaces

Setting up a test bed mobile app

Time for action – making the test bed stack

Time for action – calling the native e-mail application

Time for action – trying test bed stack on devices

Time for action – calling the native browser application

Time for action – showing a date picker

Time for action – loading pictures

Making OS styled buttons

Time for action – using Photoshop to prepare button states

Time for action – getting started with MobGUI

Time for action – using MobGUI to make a test bed app

Time for action – using native controls from MobGUI

Adjusting things for different screen sizes

Time for action – simple code layout example

Time for action – using the Geometry Manager to position buttons

Time for action – using MobGUI to remember layouts for us

Further reading

Summary

Using Remote Data and Media

Stack structure

Loading and saving external data

Time for action – creating a data save stack

Creating a web "scraper" app

Time for action – setting up tab navigation

Time for action – adding the browser controls

Time for action – making a links extraction function

Time for action – adding the Links card "init" handler

Time for action – setting up the Text card

Time for action – extracting a list of media links

Time for action – setting up the Media card scripts

Time for Action – setting up the Keepers card

What now?

Summary

Making a Jigsaw Puzzle Application

Image data format

Misusing imageData!

Time for action – testing a getPixel function

Time for action – making a racecourse

Time for action – making a race car

Making a jigsaw puzzle

Time for action – creating the pieces and choosing an image

Time for action – transferring imageData

Time for action – setting up touch events

Summary

Making a Reminder Application

What is a "reminder"?

When?

Time for action – creating date and time pickers

Where?

Time for action – trying out native location tracking

What?

Making the reminders app

Time for action – creating the reminder app screens

Time for action – adding Stack level functions

Time for action – making the Home card buttons work

Time for action – making the location card work

Time for action – taking in information about the reminder

Summary

Deploying to Your Device

Standalone Application Settings

Building Apps for Beta Testers

Creating an app store submission file

Uploading to the app stores

Summary

Extending LiveCode

Extending LiveCode

Extending LiveCode

Extending LiveCode

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Pop Quiz Answers

Index