Book Image

Augmented Reality using Appcelerator Titanium Starter

By : Trevor Ward
Book Image

Augmented Reality using Appcelerator Titanium Starter

By: Trevor Ward

Overview of this book

Titanium Mobile has quickly become the platform of choice for many mobile developers and is growing and changing at a rapid rate. From the implementation of CommonJS, Cloud Services, MVC design patterns and more, the last year in Titanium development has been a roller coaster of change for the better. Augmented Reality is a hot area for mobile applications and this book along with the augmentedTi open source application will give a great start to all augmented applications. This book will show you how to build an Augmented Reality application, which is clean, efficient and usable. It shows how to hide the processing from the user and build a display which updates and rotates smoothly.Mobile devices have got more powerful, but they still have limitations. Augmented Reality applications test these devices to breaking point and without the correct coding techniques make the applications unresponsive and cumbersome.This book gives a solution, which will enable you to build an effective application, and is accompanied by a complete working application and source code. It's essential for anybody who is creating a multiple points of interest augmented reality application. It shows how to build this type of application efficiently and takes into consideration the devices limitations and processing capabilities.
Table of Contents (9 chapters)
Augmented Reality using Appcelerator Titanium Starter
About the author
About the reviewers

Chapter 1. Augmented Reality using Appcelerator Titanium Starter

Welcome to Augmented Reality using Appcelerator Titanium.

Advances in technology are driven by a need. Some of the greatest advances are made during wars, the computer revolution being one of them. I doubt we will ever know the full extent of the advances made with computers during the Second World War, but they were significant. After the war ended Manchester, England became home to a team of leading academics and industry experts, where the Manchester Baby was born. This has now been replicated at the Science Museum in Manchester, and was the first fully functioning computer as we know them today.

Today a mobile phone has more processing power than these early room-size computers, but it still has limitations. Mobile devices are becoming more powerful, more usable, and more widespread. With the introduction of the iPhone, a revolution in mobile technology occurred. But mobile devices have limited processing power, storage, and memory compared to a desktop computer and this is often forgotten or ignored. When developing applications for mobile devices these considerations need to be taken into account as the applications perform badly if they aren’t.

Developing an Augmented Reality application is no different. In fact more consideration has to be taken for the device it needs to run on. This type of application displays lots of data, moves it continually around the screen, and resizes components, resulting in using the device's processing power to the maximum. A lot of time and effort is spent in coding, to minimize the amount of processing required. In a lot of cases it is just too much for the device to handle cleanly.

This book explains a solution to implementing Location-based Augmented Reality . The solution provided has been coded using the Appcelerator Titanium Framework but it can be applied to most other frameworks and native solutions. It is aimed at the developers; although all the code is available and is well commented, it is not aimed at novice coders.

If you are currently implementing or thinking about Augmented Reality this book is for you. It shows a solution which works effectively, using an open source example application, augmentedTi. We will cover the latest Titanium APIs, coding methods, and best practices.

This book contains the following sections:

So what is Augmented Reality? – This section gives a brief overview of what Augmented Reality can be.

Installation – This section shows you how to obtain and install the augmentedTi application from bitbucket into Titanium Studio.

The application architecture – This section dives into the open source code base on the augmentedTi example application, explaining how it has been implemented.

Augmented Reality – This section explains the augmented reality solution provided within the augmentedTi application.

People and places you should get to know – This section provides you with many useful links to the project page and forums, as well as a number of helpful articles, tutorials, blogs, and the Twitter feeds of some useful people to follow.