The top level App module. The App module is mainly used for accessing information about the application at runtime.
Adds the specified callback as an event listener for the named event.
Fires a synthesized event to any registered listeners.
return the arguments passed to the application on startup as a dictionary (iPhone, iPad only.)
Removes the specified callback as an event listener for the named event.
the application's copyright read-only
the application's description read-only
the application's globally unique id (this is system generated and consistent through all versions) read-only
the application's app id as specified in Titanium Developer or Titanium Studio read-only
property for controlling whether the phone screen will be locked on idle time. Can be set to true to disable the timer (iPhone, iPad only.)
the application's name read-only
a boolean to indicate whether proximity detection is enabled (iPhone, iPad only.)
the state of the device's proximity detector (iPhone, iPad only.)
the application's publisher read-only
the application url read-only
the application's version read-only
fired when an iOS application will stop being the focus. (iPhone, iPad only.)
fired when a proximity state changes (Android, iPhone, iPad only.)
fired when an iOS application will enter the foreground due to iOS 4's multitasking. This does not include pauses due to notifications or calls. See applicationWillEnterForeground for the exact behavior that triggers this event. (iPhone, iPad only.)
fired when an iOS application will return to being the focus. This does include not only the events that trigger resume, but pauses due to notifications or calls. See applicationDidBecomeActive for the exact behavior that triggers this event. (iPhone, iPad only.)