Book Image

LiveCode Mobile Development HOTSHOT

By : Dr. Edward Lavieri
Book Image

LiveCode Mobile Development HOTSHOT

By: Dr. Edward Lavieri

Overview of this book

<p>There are over 2,000 programming languages and several that can be used to program mobile applications. LiveCode has proven itself a strong competitor in the mobile application development market. The power of this easy-to-learn programming environment will get you starting developing mobile apps from the very first chapter.</p> <p>"LiveCode Mobile Development Hotshot is a project-based guide to developing games and other apps for mobile devices using LiveCode. You will learn tricks and techniques for tackling even the most difficult mobile application topics. Best of all, you will be provided with 100% of the source code and have it explained too.</p> <p>"LiveCode Mobile Development Hotshot" will present you with ten exciting projects that will expose you to different LiveCode programming techniques for mobile application development. The hands-on approach provides you with clear, step-by-step instructions in each chapter where a different type of mobile app is tackled. You will enhance your current knowledge of this programming language and build upon it by learning specific techniques and programming approaches to developing mobile applications. You will create your own calculator app, learn how to use menus for mobile apps, and design user interfaces that are optimized for mobile users. In the following projects, you will create a quiz game and learn how to use LiveCode to develop an entire game on one card. Other projects will look at using randomization and animation, as well as database control. Among the advanced features, you will learn about gathering information about a user's device, how to create contextually aware objects, how to transfer scripts, how to use custom properties, how you can analyze and manipulate text, and how to use arrays.</p> <p>"LiveCode Mobile Development Hotshot" is a complete solution for people that are familiar with LiveCode and want to start developing mobile apps.</p>
Table of Contents (18 chapters)
LiveCode Mobile Development HOTSHOT
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Mobile App Development Primer
Index

Preface

There are over 2,000 programming languages and several that can be used to program mobile applications. LiveCode has proven itself a strong competitor in the mobile application development market. The power of this easy-to-learn programming environment will get you to start developing mobile apps with the very first project.

LiveCode Mobile Development Hotshot is a hands-on guide to developing games and other apps for mobile devices using LiveCode. You will learn tricks and techniques for tackling even the most difficult mobile application topics. Best of all, you will be provided with 100 percent of the source code with each line of code explained.

The approach taken in this book is to present a hands-on mission in each project. This approach will help you learn faster and more efficiently. You can enter the code listed in the book, or download it from the Packt Publishing website.

You'll be exposed to introductory mobile applications such as Hello Planet and Interface Fun. Each project is successively more complex. Additional projects include games, a calculator, and much, much more.

By the time you complete all the projects in this book, you'll have the confidence and skills necessary to develop your own mobile applications using LiveCode.

What this book covers

Project 1, Developing Hello Planet!, introduces LiveCode for mobile devices. In this project, you'll build your first mobile application.

Project 2, Developing User Interfaces, explains how to develop user interfaces including orientations and navigation.

Project 3, Using Math – Mobile Calculator, demonstrates how to create a mobile app calculator that supports addition, subtraction, multiplication, and division. This project also introduces the concept of random numbers.

Project 4, Building Menus – Menu of Menus, introduces LiveCode menus to include swipe, pulldown, option, combobox, pop up, tab, picker, and dropdown.

Project 5, Creating How Smart Am I? – A Quiz Game, explains how to create a mobile app quiz. Question types of true/false, multiple choice, sequencing, short answer, and picture-based are demonstrated.

Project 6, Creating the Find the Bananas Game, explains how to create a game based on the classic three-shell game. This project introduces how to use reference images and why it is so important.

Project 7, Creating the Jungle Dance Party Mobile App, introduces the concept of basic animation.

Project 8, Creating the My Database Mobile App, introduces you to creating and using databases in LiveCode.

Project 9, Advanced Fun with the Advanced Fun Mobile App, introduces you to several advanced features of LiveCode.

Project 10, In-app Purchases and Advertising for iOS and Android, explains how to implement in-app purchases and advertising for both iOS and Android mobile devices.

Appendix, Mobile App Development Primer, explains how to prepare your LiveCode mobile apps for submission to app stores.

What you need for this book

In order to follow the examples provided in this book, you'll need a copy of LiveCode Community 6.1.1. or greater. This software is available for free at http://livecode.com/download/.

Who this book is for

This book is written for people that are already familiar with the LiveCode development environment, but have not yet explored how to use their knowledge of LiveCode to create mobile apps.

Conventions

In this book, you will find several headings appearing frequently.

To give clear instructions of how to complete a procedure or task, we use:

Mission Briefing

This section explains what you will build, with a screenshot of the completed project.

Why Is It Awesome?

This section explains why the project is cool, unique, exciting, and interesting. It describes what advantage the project will give you.

Your Hotshot Objectives

This section explains the major tasks required to complete your project.

  • Task 1

  • Task 2

  • Task 3

  • Task 4, and so on

Mission Checklist

This section explains any pre-requisites for the project, such as resources or libraries that need to be downloaded, and so on.

Task 1

This section explains the task that you will perform.

Prepare for Lift Off

This section explains any preliminary work that you may need to do before beginning work on the task.

Engage Thrusters

This section lists the steps required in order to complete the task.

Objective Complete - Mini Debriefing

This section explains how the steps performed in the previous section allow us to complete the task.

Classified Intel

The extra information in this section is relevant to the task.

You will also find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We also added a call to that command at the end of the timeup command."

A block of code is set as follows:

on openStack
   answer "Greetings!" titled "Hello Planet!"
end openStack

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "So, navigate to File | Standalone Application Settings."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.