Titanium.App.Android.R

Platform Since
Android 1.5

Summary

The Titanium binding of Application Resources. This gives you access to resources you have packaged for your own application. If you want to access the system-wide Android R, use Titanium.Android.R.

Description

These properties and sub-properties are queried directly against your Application's R class, and should have the same syntax. For example, if you have a file platform/android/res/drawable/icon.png in your project, you could then access its integer id like this:

var resid = Titanium.App.Android.R.drawable.icon;

Methods

Name Summary
addEventListener

Adds the specified callback as an event listener for the named event.

fireEvent

Fires a synthesized event to any registered listeners.

removeEventListener

Removes the specified callback as an event listener for the named event.

Properties

This type has no properties.

Events

This type has no events.