O'Reilly logo

Appcelerator Titanium Smartphone App Development Cookbook - Second Edition by Jason Kneen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Getting to Grips with Properties and Events

In this chapter, we will cover the following recipes:

  • Reading and writing app properties
  • Firing and capturing events
  • Passing event data between your app and a WebView using custom events

Introduction

This chapter describes the processes of two fundamentally important, yet deceptively simple, parts of the Titanium framework. In it, we'll explain how to go about creating and reading app properties so that you can store data that is accessible from any part of your application, much as session data or cookies would be if you were building a web-based app.

We'll also go into further detail on events, including a selection of those fired by the various components of Titanium and custom events, which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required