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

Android apps


When we develop apps for Android devices, we have several specific settings to set in the Standalone Application Settings dialog screen.

As you can see in the following screenshot, the Standalone Application Settings dialog window has a large number of options that must be reviewed prior to publishing an Android binary file:

This dialog window's options are divided into five sections as indicated in the following screenshot:

The first section is the Build for: area of the window.

The Build for: option provides us with the ability to select and deselect the option to publish a binary file formatted for Android devices.

The second section is Basic Application Settings.

There are several settings in the Basic Application Settings area of the dialog window. The description for each of these settings is as follows:

  • Label: This is the label that will be displayed on the launch screen of the Android device.

  • Identifier: This is a unique identifier specific to your app.

  • Version Name: This is the version of your app in a human-readable format.

  • Version Code: This is the version number used by the Android OS.

  • Icon: This is where you will upload your app's launch icon.

  • Splash: If you have a personal or educational LiveCode license, you will upload a splash screen image here. If you have a commercial license, this does not apply to you.

  • Signing: You are presented with three options: Sign with my key, Sign for development only, and Do not sign.

  • Key: This setting links to a key-store file that is used when the Sign with my key option within Signing is selected.

  • Install Location: This is where you set your app's preference for storing data. The options are Internal Storage Only, Allow External Storage, and Prefer External Storage.

  • App Billing Key: This is where you will enter your billing key from your Android Play Store account. This key is used for in-app purchases.

  • Externals: If your app uses any of the listed externals, they must be selected here prior to generating a binary file.

  • Custom URL Scheme: This feature allows you to design a custom URL that can be used to launch your app from within another app.

  • Push Sender ID: This is a unique project number associated with your app. This ID is used while you are using push notifications.

  • Status Bar Icon: Here you will upload your status bar icon.

The third section is Requirements and Restrictions.

The first section of the Requirements and Restrictions area allows you to indicate the minimum Android version that must be installed on a user's device for your app to run. The options include 2.2 - Froyo, 2.3 - Gingerbread, 2.3.3, 3.0 - Honeycomb, and 3.1.

The section contains 13 sets of radio buttons. These buttons allow you to select which services are required, used, or not applicable.

The fourth section is User Interface Options.

In this section of the dialog window, you select your app's initial orientation (Portrait or Landscape) and whether or not to display the status bar.

The fifth and final section is Application Permissions.

This final section of the Standalone Application Settings dialog window is where you will select which services and accesses your app will use.