万本电子书0元读

万本电子书0元读

顶部广告

LiveCode Mobile Development: Beginner's Guide - Second Edition电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Colin Holgate

出  版  社:Packt Publishing

出版时间:2015-05-29

字       数:148.7万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
The ideal reader for this book would be someone who already knows LiveCode, is interested in creating mobile apps, and wants to save the many hours it took for me to track down all of the information on how to get started! Chapter 1, LiveCode Fundamentals, will help those of you who know programming but are not familiar with LiveCode. The knowledge you've acquired should be enough for you to benefit from the remainder of the book.
目录展开

LiveCode Mobile Development Beginner's Guide Second Edition

Table of Contents

LiveCode Mobile Development Beginner's Guide Second Edition

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Time for action – heading

What just happened?

Pop quiz – heading

Have a go hero – heading

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. LiveCode Fundamentals

Background history and metaphors

You do have LiveCode, don't you?

Learning the lay of the land

Online lessons

Main windows

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

To select edit or not…

What just happened?

Creating a hierarchy

The stack structure

Where does the code go?

Time for action – making cards and navigating between them

What just happened?

Pop quiz – selecting the best name?

Making a simple calculator application

Inspector clues, oh!

Time for action – making the calculator buttons

What just happened?

Verbosity, synonyms, and "me"

Adding the card handlers

Variable types in LiveCode

Pop quiz – try to remember…

Extending the calculator

Have a go hero – getting to the root of things

Other interface controls

The video player control

The still image control

Rollover buttons

Many more controls…

Debugging

Summary

2. Getting Started with LiveCode Mobile

iOS, Android, or both?

Becoming an Android developer

Google Play

Amazon Appstore

Pop quiz – when is something too much?

Downloading the Android SDK

Installing the Android SDK on Mac OS X (Intel)

Installing the Android SDK on Windows

Pointing LiveCode to the Android SDK

Pop quiz – tasty code names

Becoming an iOS developer

Pop quiz – iOS code names

Installing Xcode

Pointing LiveCode to the iOS SDKs

Before we make our first mobile app…

Getting ready for test development on an Android device

Time for action – starting an Android Virtual Device

Creating an Android Virtual Device

What just happened?

Connecting a physical Android device

Using Kindle Fire

Time for action – adding Kindle Fire to ADB

What just happened?

Getting ready for test development on an iOS device

Time for action – using the iOS simulator

What just happened?

Appiness at last!

Time for action – testing a simple stack in the simulators

What just happened?

Time for action – testing a simple stack on devices

What just happened?

Have a go hero – Nook

Further reading

Summary

3. Building User Interfaces

Setting up a test bed mobile app

Time for action – making the test bed stack

What just happened?

Invoking the desktop e-mail application

Time for action – calling the native e-mail application

What just happened?

Installing the e-mail test on devices

Time for action – trying the test bed stack on devices

What just happened?

Opening a web page

Time for action – calling the native browser application

What just happened?

The mobile-only date picker

Time for action – displaying a date picker

What just happened?

Time for action – loading pictures for a mobile device

What just happened?

Pop quiz – getting the big picture

Making OS-styled buttons

Using bitmaps

Time for action – using Photoshop to prepare button states

What just happened?

Pop quiz – the cost of things these days

MobGUI to the rescue!

Time for action – getting started with MobGUI

What just happened?

A test bed app, the MobGUI way

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

What just happened?

MobGUI native controls

Time for action – using native controls from MobGUI

What just happened?

Have a go hero – other tests and pretty icons

Laying out using a resize handler

Time for action – a simple code layout example

What just happened?

Laying out using the LiveCode Geometry Manager

Time for action – using the Geometry Manager to position buttons

What just happened?

Resolution independence

Multiple density support

Pixels and points

Image naming convention

The full-screen scaling mode

Syntax

The empty mode

The showAll mode

The letterbox mode

The noBorder mode

The exactFit mode

Summary

4. Using Remote Data and Media

The stack structure

Code-driven and manually created layouts

Locations for code

Pop quiz – name that structure

Loading and saving external data

Querying a URL

Reading and writing to a text file

Using another stack to store data

Time for action – creating a data save stack

What just happened?

Pop quiz – other special places

Creating a web "scraper" app

Time for action – setting up the tab navigation

What just happened?

The Browser card

Time for action – adding the browser controls

What just happened?

The Links card

Time for action – making a links extraction function

What just happened?

The missing links

One more thing…

Time for action – adding the links card's init handler

What just happened?

The Text card

Time for action – setting up the Text card

What just happened?

The Media card

Time for action – extracting a list of media links

What just happened?

Time for action – setting up the Media card scripts

What just happened?

The Keepers card

Time for action – setting up the Keepers card

What just happened?

Have a go hero – add some preset locations

Summary

5. Making a Jigsaw Puzzle Application

Image data format

Mystery byte…

Misusing imageData

Time for action – testing a getPixel function

What just happened?

Pop quiz – how many bits in a byte?

Simulating lots of buttons

Time for action – making a map of the United States

What just happened?

Pop quiz – getting the big picture

Using maskData for collision detection

Time for action – making a racecourse

What just happened?

Time for action – making a racecar

What just happened?

Pop quiz – calculate this!

Making a jigsaw puzzle

Going to pieces…

Time for action – creating the pieces and choosing an image

What just happened?

Time for action – transferring imageData

What just happened?

Adding interactivity

Time for action – setting up touch events

What just happened?

Have a go hero – one for the kids

Summary

6. Making a Reminder Application

Different types of reminders

Timing of notifications

Date and time pickers

Time for action – creating date and time pickers

What just happened?

Pop quiz – OA (odd acronyms!)

Where?

Time for action – trying out native location tracking

What just happened?

Calculating the distance between two points on the Earth

Pop quiz – what floor is my apartment on?

Information needed in a reminder

Making the reminder app

Laying out the cards

Time for action – creating the reminder app screens

What just happened?

Stack-level scripts

Time for action – adding stack-level functions

What just happened?

Home card scripts

Time for action – making the home card buttons work

What just happened?

Creating a location card

Time for action – making the location card work

What just happened?

The reminder entry form

Time for action – taking in information about the reminder

What just happened?

Have a go hero – nice transitions

Summary

7. Deploying to Your Device

Standalone application settings

The General section

The Stacks section

The Copy Files section

The iOS section

The Build for section

Basic application settings

Icons

Icon tools

Splash screens

Orientation options

The Custom URL scheme

Requirements and restrictions

A status bar

Android

Basic application settings

Requirements and restrictions

Application permissions

User interface options

Building Apps for Beta Testers

Sending an Android app to testers

Preparing an iOS app so that it can work on someone else's device

Using "over the air" installers for iOS

AirLaunch

BetaBuilder

TestFlight

Using "over the air" installers for Android

Google testing

Amazon testing

Samsung testing

Creating an app store submission file

Finding and using the Android Keytool application

Creating a distribution certificate for iOS

Uploading to the app stores

What's similar

What's different

Bottom line

Summary

A. Extending LiveCode

The story so far…

Extending LiveCode

MobGUI

tmControl

The DropTools palette

mergExt

animationEngine

AirLaunch

The ControlManager IDE

Creating your own add-ons

Custom controls

Externals

Open source

Quality control

A New World of Extensions

Inside extensions

LiveCode Builder

Additional constructs

Packages

Modules

Roadmap

Index

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部