danger.app
Interface EventType

All Known Implementing Classes:
Event


public interface EventType

Defines system event type constants. This class defines all constants related to system event types. Event-related methods are defined in the Event class.


Field Summary
static int BATTERY_CHARGE
          Deprecated. use danger.system.BatteryMonitor
static int BATTERY_COLD
          Deprecated. no longer applies
static int BATTERY_DISCHARGE
          Deprecated. use danger.system.BatteryMonitor
static int BATTERY_FLAG_CHARGE
          Deprecated. use danger.system.BatteryMonitor
static int BATTERY_FLAG_DC_PLUG
          Deprecated. no longer used
static int BATTERY_FLAG_FAULT
          Deprecated. no longer used
static int BATTERY_FLAG_FULL
          Deprecated. use danger.system.BatteryMonitor
static int BATTERY_FLAG_POWER
          Deprecated. use danger.system.BatteryMonitor
static int BATTERY_FLAG_SHUTDOWN
          Deprecated. use danger.system.BatteryMonitor
static int BATTERY_FLAG_TEMP
          Deprecated. no longer used
static int BATTERY_FULL
          Deprecated. use danger.system.BatteryMonitor
static int BATTERY_HOT
          Deprecated. no longer applies
static int BATTERY_NOPOWER
          Deprecated. use danger.system.BatteryMonitor
static int BITMAP_DECODED
          A PhotoRecord's decoded bitmap is now ready to be viewed
static int DEVICE_ARROW_DOWN
          Device joypad has been rocked down.
static int DEVICE_ARROW_DOWN_LEFT
          Device joypad has been rocked diagonally down and left.
static int DEVICE_ARROW_DOWN_RIGHT
          Device joypad has been rocked diagonally down and right.
static int DEVICE_ARROW_LEFT
          Device joypad has been rocked left.
static int DEVICE_ARROW_RIGHT
          Device joypad has been rocked right.
static int DEVICE_ARROW_UP
          Device joypad has been rocked up.
static int DEVICE_ARROW_UP_LEFT
          Device joypad has been rocked diagonally up and left.
static int DEVICE_ARROW_UP_RIGHT
          Device joypad has been rocked diagonally up and right.
static int DEVICE_BUTTON_BACK
          Device Back button has been pressed.
static int DEVICE_BUTTON_CANCEL
          Activity on CANCEL button
static int DEVICE_BUTTON_DONE
          Activity on DONE button
static int DEVICE_BUTTON_END
          End key has been pressed
static int DEVICE_BUTTON_JUMP
          Device Jump button has been pressed.
static int DEVICE_BUTTON_LEFT_SHOULDER
          Activity on shoulder buttons
static int DEVICE_BUTTON_MENU
          Device menu button has been pressed.
static int DEVICE_BUTTON_RIGHT_SHOULDER
           
static int DEVICE_BUTTON_SEND
          Send key has been pressed
static int DEVICE_BUTTON_VOLUME_DOWN
          Activity on VOL- button
static int DEVICE_BUTTON_VOLUME_UP
          Activity on VOL+ button
static int DEVICE_EXT_HOOK_DOWN
          The button on the earphone cable has been pressed.
static int DEVICE_EXT_HOOK_UP
          The button on the earphone cable has been released.
static int DEVICE_META_ALT
          The Alt meta key is currently active.
static int DEVICE_META_ALT_LOCKED
          The Alt key is currently locked.
static int DEVICE_META_CAPS
          The Caps meta key is currently active.
static int DEVICE_META_CAPS_LOCKED
          The Caps key is currently locked.
static int DEVICE_META_NONE
          There are currently no active Meta keys
static int DEVICE_META_SHIFT_ALT
          The Shift-Alt state is currently active.
static int DEVICE_MULTIPLE_WHEEL
          Device wheel has been held up or down.
static int DEVICE_NAVIGATION
           Event.what parameter denoting that the navigation device has been moved by the user.
static int DEVICE_WHEEL
          Device wheel has been pushed up or pulled down.
static int DEVICE_WHEEL_BUTTON
          Device wheel has been pressed.
static int DEVICE_WHEEL_PAGE_DOWN
          Page down event for controls with large scrollable areas.
static int DEVICE_WHEEL_PAGE_UP
          Page up event for controls with large scrollable areas.
static int EVENT_ACTIVE_SPEAKER_CHANGED
          active speaker has changed; speakerphone was turned on/off or headset was inserted.
static int EVENT_ADD_LINK
           
static int EVENT_ALARM
          An alarm has gone off.
static int EVENT_APP_NETWORK
          A network-related event has occured.
static int EVENT_AUDIO
          Some sort of audio event has happened.
static int EVENT_AUDIO_MEDIA_VOLUME_CHANGE_REQUESTED
          Volume for media change requested.
static int EVENT_AUDIO_MEDIA_VOLUME_CHANGED
          Volume for media changed.
static int EVENT_AUTO_SYNC_DONE
          auto-sync done event
static int EVENT_AUTOSYNC_CATEGORYID_CHANGED
          This event is sent when there are conflicts between the category ids in the CategoryDB after an auto sync.
static int EVENT_BACKLIGHT_CHANGED
          This event is sent to registered listeners when the backlight turns on or off.
static int EVENT_BATTERY_COVER_STATE_CHANGED
          Back door was removed or replaced by the user.
static int EVENT_BATTERY_STATE_CHANGED
          Battery state has changed.
static int EVENT_BLUETOOTH_STATE_CHANGED
          State of bluetooth radio.
static int EVENT_CALL_CUSTOMER_CARE
          Invoke the phone to dial customer care number
static int EVENT_CAMERA_STATUS
          Camera has been plugged in or out.
static int EVENT_CONNECTION_DOWN
          Network connection just dropped.
static int EVENT_CONNECTION_UP
          Network connection just started/resumed.
static int EVENT_COPY
           
static int EVENT_COPY_LINK
           
static int EVENT_CUT
          Edit Text Events
static int EVENT_DATASTORE_RESTORED
          This event is sent whenever an Application's SettingsDB has been successfully restored from the service after a restart.
static int EVENT_DELETE_SELECTION
           
static int EVENT_ENTERING_KEY_GUARD
          Device is about to enter keyguard.
static int EVENT_HEADSET_STATUS
          Headset has been plugged in or out.
static int EVENT_HINGE_CHANGED
          The screen hinge has either opened or closed.
static int EVENT_ICON_GALLERY_UPDATED
          The icon gallery has been updated.
static int EVENT_ICON_RECORD_UPDATED
          An icon record has been updated.
static int EVENT_IM_SERVICES
          This signals an IM Services event
static int EVENT_IMAGE_GALLERY_CONTROLLER_UPDATED
           
static int EVENT_IN_PHONE_STATUS
           
static int EVENT_INPUT_METHOD
          Notifies an input method handler that the input method has become active (what == 1) or inactive (what == 0).
static int EVENT_INVALID
           
static int EVENT_IP_ADDRESS
          This is posted when you get an IP address and lose it.
static int EVENT_JUMP_SHORTCUTS_CHANGED
          Jump shortcuts were changed by the user.
static int EVENT_KEY_DOWN
          A key on the keyboard has been pressed.
static int EVENT_KEY_HELD
          A device key is being held.
static int EVENT_KEY_META
          This event is sent when the state of the 3 meta keys changes.
static int EVENT_KEY_REPEAT
          A key on the keyboard has been held down.
static int EVENT_KEY_UP
          A key on the keyboard has been released.
static int EVENT_LEAVING_KEY_GUARD
          Device is about to leave keyguard.
static int EVENT_LINK_TEXT_BOX_HAS_PAGED_DOWN
           
static int EVENT_LINK_TEXT_BOX_HAS_PAGED_UP
           
static int EVENT_LOADER
          A system software update has occured.
static int EVENT_LOW_MEMORY
          device is running out of memory; it will probably be forced to reboot unless apps respond to this by freeing (nulling references to) any unnecessary resources
static int EVENT_MAILTO_LINK_ADD_CONTACT
           
static int EVENT_MEDIA_PLAYER_STATE_CHANGED
          Events related to interesting media player state changes.
static int EVENT_MENU_HIDDEN
          A menu has just been hidden.
static int EVENT_MENU_SHOWN
          A menu has just been shown.
static int EVENT_MESSAGE
          Used with MESSAGE_GOTO_URL
static int EVENT_MIDLET_DISPLAY_CLEARED
           
static int EVENT_MIDLET_DISPLAY_OBSCURED
           
static int EVENT_MIDLET_FUNNEL_TRANSACTION
           
static int EVENT_MINUTE_TICK
          The time has changed.
static int EVENT_MODIFIER_ALT
          ALT key is down.
static int EVENT_MODIFIER_BACK_BUTTON
          Back Button is down.
static int EVENT_MODIFIER_CANCEL_BUTTON
          Cancel Button is down.
static int EVENT_MODIFIER_CAPS
          Caps Lock is down.
static int EVENT_MODIFIER_JUMP_BUTTON
          Jump Button is down.
static int EVENT_MODIFIER_MENU_BUTTON
          Menu Button is down.
static int EVENT_MODIFIER_NONE
          No modifiers are in effect.
static int EVENT_MODIFIER_SYM
          SYM key is down.
static int EVENT_MODIFIER_TRACKBALL
          Event came from trackball Mask to be used in conjunction with modifiers parameters of event handlers.
static int EVENT_MODIFIER_WHEEL
          Event came from wheel.
static int EVENT_NETWORK_ACTIVITY
          Network activity is occuring.
static int EVENT_NETWORK_ERROR
          Posted by native network code to pop up dialog informing user of network problems.
static int EVENT_NETWORK_STATUS
          The network status update event Used to keep track of network status for the radio and server connection
static int EVENT_NUM_ACTIVE_VOICE_CALLS_CHANGED
          The number of active voice phone calls has changed.
static int EVENT_OPEN_LINK
           
static int EVENT_PASTE
           
static int EVENT_PDP_CONTEXT_ACTIVATION_ERROR
          This event is an invalid event and should not be used.
static int EVENT_PERIODIC_PULSE
          A periodic pulse sent to the active application.
static int EVENT_PHONE_LINK_ADD_CONTACT
           
static int EVENT_PHONE_STANDBY_TEXT_CHANGED
          The Phone standby text has changed.
static int EVENT_PHOTO_GALLERY
           
static int EVENT_PHOTO_GALLERY_PROXY
           
static int EVENT_PHOTO_PROXY_RECORD_CONTAINER
           
static int EVENT_PHOTO_RECORD
           
static int EVENT_PHOTO_RECORD_UPDATED
          A photo record has been updated.
static int EVENT_POWER
          Deprecated. use EVENT_BATTERY_STATE_CHANGED
static int EVENT_POWER_ON
          Posted when the power has turned back on after turning off.
static int EVENT_POWER_SWITCH_DOWN
          The power switch key was pressed.
static int EVENT_POWER_SWITCH_UP
          The power switch key was released.
static int EVENT_PREFERENCES_CHANGED
          Preferences have been re-loaded from service.
static int EVENT_PROFILE_CHANGED
          System master volume or mute status has been changed.
static int EVENT_RADIO_RESET
          This is a bit of a hack to handle the case where the radio resets while in sleep mode.
static int EVENT_RADIO_STATE_CHANGE
          This event indicated that the radio state has changed, probably because the radio has been stolen by the modemport f passthrough function a "what" of 1 indicates the radio is stolen a "what" of 0 indicates the radio has been returned
static int EVENT_RAW_KEY_DOWN
          This event is sent from the keyboard driver when a key is pressed.
static int EVENT_RAW_KEY_HELD
          This event is sent from the keyboard driver when a key has been held for a period of time.
static int EVENT_RAW_KEY_REPEAT
          This event is sent from the keyboard driver when a key has been pressed and held down.
static int EVENT_RAW_KEY_UP
          This event is sent from the keyboard driver when a key is released.
static int EVENT_REDO
           
static int EVENT_ROAM_STATUS
           
static int EVENT_SCREEN_WINDOW_ACTIVATED
          This event is sent to a screen when the window list changes such that it becomes the active screen window
static int EVENT_SCREEN_WINDOW_DEACTIVATED
          This event is sent to a window when the window list changes such that it is no longer the active screen window
static int EVENT_SELECT_ALL
           
static int EVENT_SEND_LINK
           
static int EVENT_SETTINGSDB_FLUSHED
          This event is sent whenever an Application's SettingsDB has been successfully written to the service after an edit.
static int EVENT_SHORTCUT
          A menu shortcut has been used.
static int EVENT_SHOW_EMERGENCY_SCREEN
          Show the emergency dialing screen This event is sent to the phone app to display the emergency dialing screen.
static int EVENT_SIGNAL_STRENGTH
          The signal strength update event Used to keep track of signal strength level
static int EVENT_SIM_PRESENCE
          Physical SIM state has changed.
static int EVENT_SIM_UNLOCKED
          Posted by the SystemPhone when the SIM is unlocked
static int EVENT_STOP_TEST_KEYPAD
          This event is sent from the diags task to the test_keypad task to terminate it.
static int EVENT_STORAGE_DEVICE_STATE_CHANGED
          State of storage media changed.
static int EVENT_SYSTEM_LAST
          Danger classes use event ID's less than EVENT_SYSTEM_LAST for private event ID's
static int EVENT_SYSTEM_STYLE_CHANGED
           
static int EVENT_TIME_CHANGED
          System time has been changed.
static int EVENT_TIME_FORMAT_CHANGED
          Time format has been changed (12/24 hour format).
static int EVENT_TIMER
          A timer has fired.
static int EVENT_UNDO
          More EditText events
static int EVENT_USB_DATA
          USB Debug Data is available and should be routed to the appropriate IPC service...
static int EVENT_USB_STATUS
          USB has been connected or disconnected
static int EVENT_WIDGET_DOWN
          A device widget has been pressed.
static int EVENT_WIDGET_HELD
          A device widget is being held down.
static int EVENT_WIDGET_UP
          A device widget has been released.
static int EVENT_WINDOW_ACTIVATED
          This event is sent to a window when the window list changes such that it becomes the active window
static int EVENT_WINDOW_DEACTIVATED
          This event is sent to a window when the window list changes such that it is no longer the active window
static int EVENT_WINDOW_PAINT
          A window's contents needs to be drawn.
static int MESSAGE_GOTO_URL
          Application has received a request to go to a URL.
static int MESSAGE_GOTO_URL_IN_BACKGROUND
          Application has received a request to go to a URL in the background.
static int NAME_CHANGED
          The name of a photo record has changed.
static int RECORD_ADDED
          A new record was added to the gallery
static int RECORD_PENDING
          A new record was added to the photo gallery but has not yet been synced
static int RECORD_REMOVED
          A record was deleted from the gallery
static int RECORD_ROTATED
          A record has been rotated on the device.
static int RECORD_UPDATED
          A record has been updated from the service.
static int SELECTION_CHANGED
          The state of a record being selected has changed.
static int SORT_CHANGED
          One of the open PhotoPickers has changed the sort order or type.
static int UID_CHANGED
          The UID of this record has changed.
static int WHAT_AT_COMMAND_TIMEOUT
           
static int WHAT_BATTERY_COVER_REMOVED
          with (@link #EVENT_BATTERY_COVER_STATE_CHANGED), this indicates the state of the device's back door
static int WHAT_BATTERY_COVER_REPLACED
           
static int WHAT_BLUETOOTH_OFF
          with (@link #EVENT_BLUETOOTH_STATE_CHANGED), this indicates the state of the device's bluetooth radio
static int WHAT_BLUETOOTH_ON
           
static int WHAT_CAMERA_JACKED_IN
          Device camera has been plugged in.
static int WHAT_CAMERA_JACKED_OUT
          Device camera has been unplugged.
static int WHAT_CHANNEL_WRITE_TIMEOUT
           
static int WHAT_CMUX_BAD_CHECKSUM
          Various kinds of network errors.
static int WHAT_HEADSET_JACKED_IN
          Device headset has been plugged in.
static int WHAT_HEADSET_JACKED_OUT
          Device headset has been unplugged.
static int WHAT_HINGE_CLOSED
          Device screen has been swiveled closed.
static int WHAT_HINGE_OPENED
          Device screen has been swiveled open.
static int WHAT_LOW_DATA
          with EVENT_LOW_MEMORY, means that the system is running low on data space (memory per se)
static int WHAT_LOW_HANDLES
          with EVENT_LOW_MEMORY, means that the system is running low on handles
static int WHAT_MEDIA_PLAYER_HIDE_MINI
          Mini-player hidden
static int WHAT_MEDIA_PLAYER_PAUSE_TRACK
          Media player paused a playing track
static int WHAT_MEDIA_PLAYER_SHOW_MINI
          Mini-player shown
static int WHAT_MEDIA_PLAYER_START_TRACK
          Media player started playing a track
static int WHAT_MEDIA_PLAYER_STOP_TRACK
          Media player stopped playing a track
static int WHAT_MEDIA_PLAYER_UPDATE_TRACK
          Media player changed currently playing tracks
static int WHAT_NETWORK_IP_DEAD
           
static int WHAT_NETWORK_PERSONALIZATION_RESTORED
           
static int WHAT_NETWORK_PERSONALIZATION_SAVED
           
static int WHAT_NVMEM_ERASED
           
static int WHAT_OUT_OF_BUFFERS
           
static int WHAT_PDP_ACTIVATE_TIMEOUT
           
static int WHAT_POSITION_REACHED
           
static int WHAT_RADIO_FIRMWARE_FIXED
           
static int WHAT_RADIO_IGNORED_LOW_POWER_REQUEST
           
static int WHAT_RADIO_RESET
           
static int WHAT_RADIO_WONT_WAKE
           
static int WHAT_RECORDING_ABORTED
           
static int WHAT_RECORDING_STARTED
           
static int WHAT_RECORDING_STOPPED
           
static int WHAT_SEQUENCE_LOOPED
           
static int WHAT_SEQUENCE_PURGED
           
static int WHAT_SEQUENCE_STOPPED
          Various audio events.
static int WHAT_SERIAL_WRITE_TIMEOUT
           
static int WHAT_SIM_ARRIVES
           
static int WHAT_SIM_DEPARTS
          Physical SIM state has changed.
static int WHAT_SIM_HARDWARE_ERROR
           
static int WHAT_SIM_INIT_TIMEOUT
           
static int WHAT_SOUND_LOOPED
           
static int WHAT_SOUND_PURGED
           
static int WHAT_SOUND_STOPPED
           
static int WHAT_SPEAKER_BLUETOOTH
           
static int WHAT_SPEAKER_HEADSET
           
static int WHAT_SPEAKER_INTERNAL
          with (@link #EVENT_ACTIVE_SPEAKER_CHANGED), this indicates the currently active speaker.
static int WHAT_SPEAKER_SPEAKERPHONE
           
static int WHAT_STAR_99_POUND_ERROR
           
static int WHAT_STORAGE_DEVICE_INSERTED
          Storage media inserted.
static int WHAT_STORAGE_DEVICE_MODIFIED
          Storage media properties changed (writable, volume name changed).
static int WHAT_STORAGE_DEVICE_MOUNTED
          Storage media mounted for general access.
static int WHAT_STORAGE_DEVICE_PUBLISHED
          Storage media published to USB mass storage.
static int WHAT_STORAGE_DEVICE_REMOVED
          Storage media removed.
static int WHAT_STORAGE_DEVICE_UNMOUNTED
          Storage media unmounted, and no longer accessible.
static int WHAT_STORAGE_DEVICE_UNPUBLISHED
          Storage media removed from USB mass storage.
static int WHAT_STREAM_LOOPED
           
static int WHAT_STREAM_STOPPED
           
static int WHAT_SYSTEM_LOADED
          A system image has been downloaded and is waiting to be flashed.
static int WHAT_TONE_INSTALLED
           
static int WHAT_TONE_REMOVED
           
static int WHAT_TONE_START
           
static int WHAT_TONE_STOP
           
static int WHAT_UART_BREAK
           
static int WHAT_UART_FRAMING_ERROR
           
static int WHAT_UART_OVERRUN
           
 

Field Detail

EVENT_APP_NETWORK

static final int EVENT_APP_NETWORK
A network-related event has occured.

See Also:
Constant Field Values

EVENT_LOADER

static final int EVENT_LOADER
A system software update has occured. Used internally. Sent when a new version of the system software has been received.

See Also:
Constant Field Values

EVENT_IN_PHONE_STATUS

static final int EVENT_IN_PHONE_STATUS
See Also:
Constant Field Values

EVENT_ROAM_STATUS

static final int EVENT_ROAM_STATUS
See Also:
Constant Field Values

EVENT_KEY_UP

static final int EVENT_KEY_UP
A key on the keyboard has been released. This event is sent when a key on the keyboard has been released.

See Also:
Constant Field Values

EVENT_KEY_DOWN

static final int EVENT_KEY_DOWN
A key on the keyboard has been pressed. This event is sent when a key on the keyboard has been pressed.

See Also:
Constant Field Values

EVENT_WIDGET_UP

static final int EVENT_WIDGET_UP
A device widget has been released. This event is sent when a device widget such as the wheel or back button has been released.

See Also:
Constant Field Values

EVENT_WIDGET_DOWN

static final int EVENT_WIDGET_DOWN
A device widget has been pressed. This event is sent when a device widget such as the wheel or back button has been pressed.

See Also:
Constant Field Values

EVENT_WIDGET_HELD

static final int EVENT_WIDGET_HELD
A device widget is being held down. This event is sent when a device widget such as the wheel or back button has been pressed and is being held.

See Also:
Constant Field Values

EVENT_KEY_META

static final int EVENT_KEY_META
This event is sent when the state of the 3 meta keys changes. The state of the meta keys changes when one of the following happens: 1. A meta key is pressed once thus entering the one-shot state. 2. A meta key is pressed again thus locking it as active until its pressed again. 3. All Meta keys are deactivated and keyboard is back to its initial state. The what field of event will be one of the following:

See Also:
Constant Field Values

EVENT_POWER_SWITCH_DOWN

static final int EVENT_POWER_SWITCH_DOWN
The power switch key was pressed.

See Also:
Constant Field Values

EVENT_POWER_SWITCH_UP

static final int EVENT_POWER_SWITCH_UP
The power switch key was released.

See Also:
Constant Field Values

EVENT_SHORTCUT

static final int EVENT_SHORTCUT
A menu shortcut has been used. Used to handle menu shortcuts. Applications should not use this, and instead just receive the shortcut event type they registered when they built their menu.

See Also:
Menu, MenuItem, Constant Field Values

EVENT_MINUTE_TICK

static final int EVENT_MINUTE_TICK
The time has changed. This will be posted once a minute in a running system. There may be hiccups when the system is sleeping, i.e. the time between adjacent events may be more or less than a minute. Currently sent to all applications but for performance reasons use of it should be avoided.

See Also:
Constant Field Values

EVENT_POWER

static final int EVENT_POWER
Deprecated. use EVENT_BATTERY_STATE_CHANGED
Battery state has changed. Used to keep track of battery level and charging status.

See Also:
Constant Field Values

EVENT_BATTERY_STATE_CHANGED

static final int EVENT_BATTERY_STATE_CHANGED
Battery state has changed. Used to keep track of battery level and charging status. XXX: intentionally the same value as EVENT_POWER

See Also:
Constant Field Values

BATTERY_FLAG_DC_PLUG

static final int BATTERY_FLAG_DC_PLUG
Deprecated. no longer used
See Also:
Constant Field Values

BATTERY_FLAG_POWER

static final int BATTERY_FLAG_POWER
Deprecated. use danger.system.BatteryMonitor
See Also:
Constant Field Values

BATTERY_FLAG_CHARGE

static final int BATTERY_FLAG_CHARGE
Deprecated. use danger.system.BatteryMonitor
See Also:
Constant Field Values

BATTERY_FLAG_FULL

static final int BATTERY_FLAG_FULL
Deprecated. use danger.system.BatteryMonitor
See Also:
Constant Field Values

BATTERY_FLAG_TEMP

static final int BATTERY_FLAG_TEMP
Deprecated. no longer used
See Also:
Constant Field Values

BATTERY_FLAG_SHUTDOWN

static final int BATTERY_FLAG_SHUTDOWN
Deprecated. use danger.system.BatteryMonitor
See Also:
Constant Field Values

BATTERY_FLAG_FAULT

static final int BATTERY_FLAG_FAULT
Deprecated. no longer used
See Also:
Constant Field Values

BATTERY_DISCHARGE

static final int BATTERY_DISCHARGE
Deprecated. use danger.system.BatteryMonitor
External power is not present and the battery is discharging normally.

See Also:
Constant Field Values

BATTERY_NOPOWER

static final int BATTERY_NOPOWER
Deprecated. use danger.system.BatteryMonitor
The power adapter is plugged in, but it is not supplying power. The other end is probably not plugged into the wall.

See Also:
Constant Field Values

BATTERY_CHARGE

static final int BATTERY_CHARGE
Deprecated. use danger.system.BatteryMonitor
External power is present and the battery is charging normally.

See Also:
Constant Field Values

BATTERY_FULL

static final int BATTERY_FULL
Deprecated. use danger.system.BatteryMonitor
External power is present but charging has stopped because the battery is full.

See Also:
Constant Field Values

BATTERY_HOT

static final int BATTERY_HOT
Deprecated. no longer applies
External power is present but charging has stopped because the battery is too hot.

See Also:
Constant Field Values

BATTERY_COLD

static final int BATTERY_COLD
Deprecated. no longer applies
External power is present but charging has stopped because the battery is too cold.

See Also:
Constant Field Values

EVENT_MENU_SHOWN

static final int EVENT_MENU_SHOWN
A menu has just been shown. EVENT_MENU_SHOWN happens for all menu types: action menus popup menus and subclasses.

See Also:
Constant Field Values

EVENT_MENU_HIDDEN

static final int EVENT_MENU_HIDDEN
A menu has just been hidden. EVENT_MENU_HIDDEN happens for all menu types: action menus popup menus and subclasses.

See Also:
Constant Field Values

EVENT_AUDIO

static final int EVENT_AUDIO
Some sort of audio event has happened. When something happens to an audio object, this event is sent up with the specifics.

See Also:
Constant Field Values

EVENT_INPUT_METHOD

static final int EVENT_INPUT_METHOD
Notifies an input method handler that the input method has become active (what == 1) or inactive (what == 0).

See Also:
Constant Field Values

EVENT_KEY_HELD

static final int EVENT_KEY_HELD
A device key is being held. This event is sent when a key is held for a period of time. EVENT_KEY_HELD events do not interfere with other key events at all. That means your application will still receive regular key events.

See Also:
Constant Field Values

EVENT_USB_DATA

static final int EVENT_USB_DATA
USB Debug Data is available and should be routed to the appropriate IPC service...

See Also:
Constant Field Values

EVENT_SETTINGSDB_FLUSHED

static final int EVENT_SETTINGSDB_FLUSHED
This event is sent whenever an Application's SettingsDB has been successfully written to the service after an edit. The argument field of the Event object will hold the String name of the DB.

See Also:
Constant Field Values

EVENT_DATASTORE_RESTORED

static final int EVENT_DATASTORE_RESTORED
This event is sent whenever an Application's SettingsDB has been successfully restored from the service after a restart. The argument field of the Event object will hold the String name of the DB.

See Also:
Constant Field Values

EVENT_AUTOSYNC_CATEGORYID_CHANGED

static final int EVENT_AUTOSYNC_CATEGORYID_CHANGED
This event is sent when there are conflicts between the category ids in the CategoryDB after an auto sync. The GategoryDB resolved the category id conflict, but the user of the category id needs to be notified of the change.

See Also:
Constant Field Values

EVENT_SIGNAL_STRENGTH

static final int EVENT_SIGNAL_STRENGTH
The signal strength update event Used to keep track of signal strength level

See Also:
Constant Field Values

EVENT_TIMER

static final int EVENT_TIMER
A timer has fired. This event is sent when a timer has fired.

See Also:
Timer, Constant Field Values

EVENT_ALARM

static final int EVENT_ALARM
An alarm has gone off. This event is sent when an alarm has gone off.

See Also:
Alarm, Constant Field Values

EVENT_SHOW_EMERGENCY_SCREEN

static final int EVENT_SHOW_EMERGENCY_SCREEN
Show the emergency dialing screen This event is sent to the phone app to display the emergency dialing screen.

See Also:
Constant Field Values

EVENT_PERIODIC_PULSE

static final int EVENT_PERIODIC_PULSE
A periodic pulse sent to the active application. The pulse is sent every 500 milliseconds.

See Also:
Constant Field Values

EVENT_TIME_CHANGED

static final int EVENT_TIME_CHANGED
System time has been changed. Used by system to indicate that the device's local time has changed whether by the user or service setting the time or time zone.

See Also:
Constant Field Values

EVENT_NETWORK_STATUS

static final int EVENT_NETWORK_STATUS
The network status update event Used to keep track of network status for the radio and server connection

See Also:
Constant Field Values

EVENT_WINDOW_PAINT

static final int EVENT_WINDOW_PAINT
A window's contents needs to be drawn. This event is sent whenever the window needs to redraw its contents.

See Also:
Constant Field Values

EVENT_HINGE_CHANGED

static final int EVENT_HINGE_CHANGED
The screen hinge has either opened or closed. This event is sent whenever the screen hinge either opens or closes. The Event.what field of the event record will contain either WHAT_HINGE_OPENED or WHAT_HINGE_CLOSED

See Also:
Constant Field Values

EVENT_MESSAGE

static final int EVENT_MESSAGE
Used with MESSAGE_GOTO_URL

See Also:
Constant Field Values

EVENT_USB_STATUS

static final int EVENT_USB_STATUS
USB has been connected or disconnected

See Also:
Constant Field Values

EVENT_KEY_REPEAT

static final int EVENT_KEY_REPEAT
A key on the keyboard has been held down. This event is sent when a key on the keyboard has been pressed and held down. This even will be passed to Listeners between the initial EVENT_KEY_DOWN and final EVENT_KEY_UP events.

See Also:
Constant Field Values

EVENT_HEADSET_STATUS

static final int EVENT_HEADSET_STATUS
Headset has been plugged in or out.

See Also:
Constant Field Values

EVENT_CAMERA_STATUS

static final int EVENT_CAMERA_STATUS
Camera has been plugged in or out.

See Also:
Constant Field Values

EVENT_NUM_ACTIVE_VOICE_CALLS_CHANGED

static final int EVENT_NUM_ACTIVE_VOICE_CALLS_CHANGED
The number of active voice phone calls has changed. The 'what' parameter of the event will contain the number of currently active voice calls.

See Also:
Constant Field Values

EVENT_CALL_CUSTOMER_CARE

static final int EVENT_CALL_CUSTOMER_CARE
Invoke the phone to dial customer care number

See Also:
Constant Field Values

EVENT_NETWORK_ACTIVITY

static final int EVENT_NETWORK_ACTIVITY
Network activity is occuring.

See Also:
Constant Field Values

EVENT_PROFILE_CHANGED

static final int EVENT_PROFILE_CHANGED
System master volume or mute status has been changed. Used by system to indicate that the master volume has been changed.

See Also:
Constant Field Values

EVENT_SIM_UNLOCKED

static final int EVENT_SIM_UNLOCKED
Posted by the SystemPhone when the SIM is unlocked

See Also:
Constant Field Values

EVENT_SIM_PRESENCE

static final int EVENT_SIM_PRESENCE
Physical SIM state has changed. Posted by OS when SIM arrives or departs.

See Also:
Constant Field Values

EVENT_NETWORK_ERROR

static final int EVENT_NETWORK_ERROR
Posted by native network code to pop up dialog informing user of network problems.

See Also:
Constant Field Values

EVENT_POWER_ON

static final int EVENT_POWER_ON
Posted when the power has turned back on after turning off. Note that there is no warning when the power actually turns off, but the power on/off/on transition should be transparent to apps anyway.

See Also:
Constant Field Values

EVENT_IP_ADDRESS

static final int EVENT_IP_ADDRESS
This is posted when you get an IP address and lose it. The data field will be 1 if the network is up, 0 if it is down.

See Also:
Constant Field Values

EVENT_RADIO_RESET

static final int EVENT_RADIO_RESET
This is a bit of a hack to handle the case where the radio resets while in sleep mode. Delay going back into sleep for a spell while the low level code reinitializes the radio.

See Also:
Constant Field Values

EVENT_SYSTEM_STYLE_CHANGED

static final int EVENT_SYSTEM_STYLE_CHANGED
See Also:
Constant Field Values

EVENT_PREFERENCES_CHANGED

static final int EVENT_PREFERENCES_CHANGED
Preferences have been re-loaded from service. Used by system to indicate that the master volume has been changed.

See Also:
Constant Field Values

EVENT_CUT

static final int EVENT_CUT
Edit Text Events

See Also:
Constant Field Values

EVENT_COPY

static final int EVENT_COPY
See Also:
Constant Field Values

EVENT_PASTE

static final int EVENT_PASTE
See Also:
Constant Field Values

EVENT_SELECT_ALL

static final int EVENT_SELECT_ALL
See Also:
Constant Field Values

EVENT_DELETE_SELECTION

static final int EVENT_DELETE_SELECTION
See Also:
Constant Field Values

EVENT_ICON_GALLERY_UPDATED

static final int EVENT_ICON_GALLERY_UPDATED
The icon gallery has been updated. Either a record has been added, deleted or modified. Apps that register for icon gallery notification will get this as the event type

See Also:
Constant Field Values

EVENT_PHOTO_RECORD_UPDATED

static final int EVENT_PHOTO_RECORD_UPDATED
A photo record has been updated. Any number of fields in the record could have been changed.

See Also:
Constant Field Values

EVENT_ICON_RECORD_UPDATED

static final int EVENT_ICON_RECORD_UPDATED
An icon record has been updated. Any number of fields in the record could have been changed.

See Also:
Constant Field Values

EVENT_IMAGE_GALLERY_CONTROLLER_UPDATED

static final int EVENT_IMAGE_GALLERY_CONTROLLER_UPDATED
See Also:
Constant Field Values

EVENT_ENTERING_KEY_GUARD

static final int EVENT_ENTERING_KEY_GUARD
Device is about to enter keyguard. Used by system to indicate that the device is about to enter keyguard mode.

See Also:
Constant Field Values

EVENT_CONNECTION_DOWN

static final int EVENT_CONNECTION_DOWN
Network connection just dropped.

See Also:
Constant Field Values

EVENT_CONNECTION_UP

static final int EVENT_CONNECTION_UP
Network connection just started/resumed.

See Also:
Constant Field Values

EVENT_AUTO_SYNC_DONE

static final int EVENT_AUTO_SYNC_DONE
auto-sync done event

See Also:
Constant Field Values

EVENT_TIME_FORMAT_CHANGED

static final int EVENT_TIME_FORMAT_CHANGED
Time format has been changed (12/24 hour format).

See Also:
Constant Field Values

EVENT_WINDOW_ACTIVATED

static final int EVENT_WINDOW_ACTIVATED
This event is sent to a window when the window list changes such that it becomes the active window

See Also:
Constant Field Values

EVENT_WINDOW_DEACTIVATED

static final int EVENT_WINDOW_DEACTIVATED
This event is sent to a window when the window list changes such that it is no longer the active window

See Also:
Constant Field Values

EVENT_SCREEN_WINDOW_ACTIVATED

static final int EVENT_SCREEN_WINDOW_ACTIVATED
This event is sent to a screen when the window list changes such that it becomes the active screen window

See Also:
Constant Field Values

EVENT_SCREEN_WINDOW_DEACTIVATED

static final int EVENT_SCREEN_WINDOW_DEACTIVATED
This event is sent to a window when the window list changes such that it is no longer the active screen window

See Also:
Constant Field Values

EVENT_RAW_KEY_DOWN

static final int EVENT_RAW_KEY_DOWN
This event is sent from the keyboard driver when a key is pressed. The keycode is from a device-neutral keymap.

See Also:
Constant Field Values

EVENT_RAW_KEY_UP

static final int EVENT_RAW_KEY_UP
This event is sent from the keyboard driver when a key is released. The keycode is from a device-neutral keymap.

See Also:
Constant Field Values

EVENT_RAW_KEY_REPEAT

static final int EVENT_RAW_KEY_REPEAT
This event is sent from the keyboard driver when a key has been pressed and held down.

See Also:
Constant Field Values

EVENT_RAW_KEY_HELD

static final int EVENT_RAW_KEY_HELD
This event is sent from the keyboard driver when a key has been held for a period of time.

See Also:
Constant Field Values

EVENT_BACKLIGHT_CHANGED

static final int EVENT_BACKLIGHT_CHANGED
This event is sent to registered listeners when the backlight turns on or off.

See Also:
Constant Field Values

EVENT_UNDO

static final int EVENT_UNDO
More EditText events

See Also:
Constant Field Values

EVENT_REDO

static final int EVENT_REDO
See Also:
Constant Field Values

EVENT_LINK_TEXT_BOX_HAS_PAGED_UP

static final int EVENT_LINK_TEXT_BOX_HAS_PAGED_UP