Free Sample
+ Collection

Creating Mobile Apps with Appcelerator Titanium

Christian Brousseau

There’s no better way to learn Titanium than by using the platform to create apps for iPhone, iPad, and Android, and this tutorial lets you do exactly that. It’s a truly hands-on approach that covers all the essential bases.
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849519267
Paperback298 pages

About This Book

  • Walk through the development of ten different mobile applications by leveraging your existing knowledge of JavaScript
  • Allows anyone familiar with some Object-oriented Programming (OOP), reusable components, AJAX closures take their ideas and heighten their knowledge of mobile development
  • Full of examples, illustrations, and tips with an easy-to-follow and fun style to make app development fun and easy
  • Get empowered to build your own apps from the knowledge gained from this book

Who This Book Is For

"Creating Mobile Apps with Appcelerator Titanium" is for developers who have experience with modern languages and development environments. Also, if you are familiar with the concepts of Object-oriented Programming (OOP), reusable components, AJAX closures, and so on, this book will help you leverage that knowledge in mobile development.

This book will also cater to Titanium users who wish to know more about Titanium’s broad range of capabilities and will help you to expand Titanium's basic set of features by using extension modules.

Table of Contents

Chapter 1: Stopwatch (with Lap Counter)
Creating our project
The UI structure
Now on to the code
Chapter 2: Sili, the assistant that just listens
Creating our project
The user interface structure
Coding the application
Chapter 3: The To-do List
Creating our project
The user interface structure
Let's get this show on the road
Chapter 4: Interactive E-book for iPad
The user interface structure
Before writing any code
Creating our project
Now we can code
Chapter 5: You've Got to Know When to Hold 'em
Creating our project
The application structure
The main application window
The portfolio management window
Navigating between the two windows
Moving stocks around
Wiring the preference service to the UI
Retrieving the stock values from the Internet
Handling when stocks are updated
Making the whole thing more fluid
Chapter 6: JRPG – Second to Last Fantasy
Creating our project
The game's basic design
We need an engine!
The map (before we code a single line)
Let's turn this map into a game
We need a hero
Venture around the map
Our hero moves, but he's still pretty stiff
Putting the finishing touch
Chapter 7: JRPG – Second to Last Fantasy Online
Creating our project
Before we get our hands dirty
Setting up things
Coding our game server
Let's bring this game online!
Game on!
Chapter 8: Social Networks
Creating our project
One window to rule them all
Code while it is hot!
Facebook Integration
Twitter integration
Chapter 9: Marvels of the World around Us
Creating our project
The main window
Getting the device's location
Photos from the Web to our application
The photo viewer window
Connecting the wires
Photo gallery integration
Chapter 10: Worldwide Marco Polo
We know the drill
Let's see what we got here
Our tabbed user interface
Appcelerator Cloud services
The Polo window
The Marco window
Let's play!
What about Android?

What You Will Learn

  • Create full-fledged applications using native components
  • Save your data using a database and interact with it using SQL
  • Interact with web services to retrieve data from external sources
  • Make your own adventure game (Japanese RPG style)
  • Bring a friend along on your epic adventure by adding online multiplayer to your game
  • Use Geolocation to interact localized data and display it on a map
  • Store your information in a centralized form using Appcelerator Cloud Services (ACS) and share this information with other users
  • Integrate your applications with popular social media sites such as Facebook and Twitter

In Detail

Smartphones and tablets have really changed the technological landscape over the last 3-4 years. Much like the web did in the last decade, these powerful tools have changed the way people communicate and access information. Such a wide market creates opportunities for developers who have the skills to develop mobile applications.

"Creating Mobile Apps with Appcelerator Titanium" is a practical, step-by-step guide to building iPhone, iPad, and Android applications using JavaScript. This book will give you a solid grounding of the dos and don'ts of mobile development and also covers a lot of the functionalities offered by the Titanium platform.

This book begins with a look at what the Titanium platform has to offer. By taking you through clear tutorials on developing each application step-by-step, it helps you to apply your newly acquired knowledge afterwards. The difficulty level gradually increases along the course of the book.

Each application from this book covers different aspects of mobile development. Every chapter starts by defining the application’s features as well as the user interface structure. Every single code section is then explained and put into context allowing you to gain a clear understanding of their purpose and functionality. The book takes a “small milestone” approach, allowing you to actually run the application and see the progression. Every step is accompanied by many screenshots so you can see the expected result on screen.

You will learn everything you need to know to develop your very own mobile applications. The book takes a laid-back approach to Titanium development and provides information in a way designed to never overwhelm the reader with information and also uses clear diagrams, screenshots, and tips throughout.


Read More