|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 BatteryMonitor |
static int |
BATTERY_COLD
Deprecated. no longer applies |
static int |
BATTERY_DISCHARGE
Deprecated. use BatteryMonitor |
static int |
BATTERY_FLAG_CHARGE
Deprecated. use 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 BatteryMonitor |
static int |
BATTERY_FLAG_POWER
Deprecated. use BatteryMonitor |
static int |
BATTERY_FLAG_SHUTDOWN
Deprecated. use BatteryMonitor |
static int |
BATTERY_FLAG_TEMP
Deprecated. no longer used |
static int |
BATTERY_FULL
Deprecated. use BatteryMonitor |
static int |
BATTERY_HOT
Deprecated. no longer applies |
static int |
BATTERY_NOPOWER
Deprecated. use BatteryMonitor |
static int |
BITMAP_DECODED
A PhotoRecord's decoded bitmap is now ready to be viewed |
static int |
DEVICE_ARROW_DOWN
Down arrow key has been pressed. |
static int |
DEVICE_ARROW_DOWN_LEFT
Down/left diagonal has been pressed on dpad. |
static int |
DEVICE_ARROW_DOWN_RIGHT
Down/right diagonal has been pressed on dpad. |
static int |
DEVICE_ARROW_LEFT
Left arrow key has been pressed. |
static int |
DEVICE_ARROW_RIGHT
Right arrow key has been pressed. |
static int |
DEVICE_ARROW_UP
Up arrow key has been pressed. |
static int |
DEVICE_ARROW_UP_LEFT
Up/left diagonal has been pressed on dpad. |
static int |
DEVICE_ARROW_UP_RIGHT
Up/right diagonal has been pressed on dpad. |
static int |
DEVICE_BUTTON_BACK
Device Back button has been pressed. |
static int |
DEVICE_BUTTON_CANCEL
Activity on CANCEL button "what" value for EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD. |
static int |
DEVICE_BUTTON_DONE
Deprecated. This event is never actually sent. Use DEVICE_BUTTON_BACK instead. |
static int |
DEVICE_BUTTON_END
End key has been pressed "what" value for EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD. |
static int |
DEVICE_BUTTON_JUMP
Device Jump button has been pressed. |
static int |
DEVICE_BUTTON_LEFT_SHOULDER
Activity on left shoulder button. |
static int |
DEVICE_BUTTON_MENU
Device menu button has been pressed. |
static int |
DEVICE_BUTTON_RIGHT_SHOULDER
Activity on right shoulder button. |
static int |
DEVICE_BUTTON_SEND
Send key has been pressed "what" value for EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD. |
static int |
DEVICE_BUTTON_VOLUME_DOWN
Activity on VOL- button "what" value for EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD. |
static int |
DEVICE_BUTTON_VOLUME_UP
Activity on VOL+ button "what" value for EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD. |
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
Specifies that 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
Trackball has been moved. |
static int |
DEVICE_WHEEL
Device wheel has been pushed up or pulled down. |
static int |
DEVICE_WHEEL_BUTTON
Device trackball 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
Deprecated. For internal use only. |
static int |
EVENT_ALARM
An alarm has gone off. |
static int |
EVENT_APP_NETWORK
Deprecated. For internal use only. |
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
Battery cover was removed or replaced by the user. |
static int |
EVENT_BATTERY_STATE_CHANGED
Battery state has changed. |
static int |
EVENT_BLUETOOTH_STATE_CHANGED
EXPERIMENTAL Experimental APIs are APIs that are early-stage and not yet finalized or fully qualified. In future releases, these APIs may be changed in incompatible ways, replaced or even removed completely without warning. For these reasons, Danger will not publish applications that use any experimental APIs.State of bluetooth radio. |
static int |
EVENT_CALL_CUSTOMER_CARE
Deprecated. For internal use only. |
static int |
EVENT_CAMERA_STATUS
Deprecated. No longer used. |
static int |
EVENT_CONNECTION_DOWN
This event is sent when the network connection is dropped. |
static int |
EVENT_CONNECTION_UP
This event is sent when the network connection is started/resumed. |
static int |
EVENT_CONTACTS_HAVE_SYNCED
Sent after all contact data records have synced from the service after a hard reset. |
static int |
EVENT_COPY
Sent when the user selects the Copy operation for an edit text field. |
static int |
EVENT_COPY_FROM_ADDRESS_BOOK
when sent by the context menu to an EditText instance, a mini address list is opened when sent by a MiniAddressBook instance, the selected contact's phone number is inserted in the EditText. |
static int |
EVENT_COPY_LINK
Deprecated. For internal use only. |
static int |
EVENT_CUT
Sent when the user selects the Cut operation for an edit text field. |
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_DATE_CHANGED
This event gets sent when the date has changed. |
static int |
EVENT_DELETE_SELECTION
Sent when the user selects the Delete operation for an edit text field. |
static int |
EVENT_ENTERING_KEY_GUARD
This event is sent when the device is about to enter keyguard. |
static int |
EVENT_FILESYSTEM_CONTENTS_CHANGED
The contents of the filesystem changed. |
static int |
EVENT_FILESYSTEM_MODE_CHANGED
The filesystem layer's protection mode changed. |
static int |
EVENT_FONT_MENU_ITEM_SELECTED
Sent when the user selects a font from a menu created by Font.getFontMenu(danger.app.Listener) or
Font.addFontsToMenu(danger.ui.Menu, danger.app.Listener). |
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
Deprecated. This event is no longer used. |
static int |
EVENT_ICON_RECORD_UPDATED
Deprecated. This event is no longer used. |
static int |
EVENT_IM_SERVICES
This signals an IM Services event |
static int |
EVENT_IMAGE_GALLERY_CONTROLLER_UPDATED
Deprecated. This event is no longer used. |
static int |
EVENT_IN_PHONE_STATUS
Deprecated. For internal use only. |
static int |
EVENT_INPUT_METHOD
Deprecated. Unused. |
static int |
EVENT_INVALID
Specifies an invalid event. |
static int |
EVENT_IP_ADDRESS
Deprecated. For internal use only. |
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
Deprecated. For internal use only. |
static int |
EVENT_LINK_TEXT_BOX_HAS_PAGED_UP
Deprecated. For internal use only. |
static int |
EVENT_LOADER
Deprecated. For internal use only. |
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
Deprecated. For internal use only. |
static int |
EVENT_MEDIA_PLAYER_STATE_CHANGED
Events related to interesting media player state changes. |
static int |
EVENT_MENU_HIDDEN
Deprecated. For internal use only. |
static int |
EVENT_MENU_SHOWN
Deprecated. For internal use only. |
static int |
EVENT_MESSAGE
This event type is used to send IPC messages. |
static int |
EVENT_MIDLET_AUTO_SYNC_DONE
|
static int |
EVENT_MIDLET_DATASTORE_RESTORED
|
static int |
EVENT_MIDLET_DISPLAY_CLEARED
Sent when a MIDlet display is no longer obscured. |
static int |
EVENT_MIDLET_DISPLAY_OBSCURED
Sent when a MIDlet display is partially or fully obscured. |
static int |
EVENT_MIDLET_FUNNEL_TRANSACTION
Sent when traffic intended for a MIDlet arrives on the funnel. |
static int |
EVENT_MIDLET_MESSAGE
events forwarded by the midlet ExtensionManager for various danger events |
static int |
EVENT_MINUTE_TICK
The time has changed. |
static int |
EVENT_MODIFIER_ALT
Deprecated. Use EventModifier.ALT instead. |
static int |
EVENT_MODIFIER_BACK_BUTTON
Deprecated. Use EventModifier.BACK instead. |
static int |
EVENT_MODIFIER_CANCEL_BUTTON
Deprecated. Use EventModifier.CANCEL instead. |
static int |
EVENT_MODIFIER_CAPS
Deprecated. Use EventModifier.SHIFT instead. |
static int |
EVENT_MODIFIER_JUMP_BUTTON
Deprecated. Use EventModifier.JUMP instead. |
static int |
EVENT_MODIFIER_MENU_BUTTON
Deprecated. Use EventModifier.MENU instead. |
static int |
EVENT_MODIFIER_NONE
Deprecated. Use EventModifier.NONE instead. |
static int |
EVENT_MODIFIER_SYM
Deprecated. Use EventModifier.SYM instead. |
static int |
EVENT_MODIFIER_TRACKBALL
Deprecated. Use EventModifier.TRACKBALL instead. |
static int |
EVENT_MODIFIER_WHEEL
Deprecated. No longer supported. |
static int |
EVENT_NETWORK_ACTIVITY
Deprecated. For internal use only. |
static int |
EVENT_NETWORK_ERROR
Deprecated. For internal use only. |
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
Deprecated. For internal use only. |
static int |
EVENT_PASTE
Sent when the user selects the Paste operation for an edit text field. |
static int |
EVENT_PDP_CONTEXT_ACTIVATION_ERROR
Deprecated. This event is no longer used. |
static int |
EVENT_PERIODIC_PULSE
A periodic pulse sent to the active application. |
static int |
EVENT_PHONE_LINK_ADD_CONTACT
Deprecated. For internal use only. |
static int |
EVENT_PHONE_STANDBY_TEXT_CHANGED
The phone standby text has changed. |
static int |
EVENT_PHOTO_GALLERY
Sent when a PhotoRecord is added to or removed from the internal device gallery. |
static int |
EVENT_PHOTO_GALLERY_PROXY
Deprecated. This event is no longer used. |
static int |
EVENT_PHOTO_PROXY_RECORD_CONTAINER
Deprecated. This event is no longer used. |
static int |
EVENT_PHOTO_RECORD
Sent when a PhotoRecord is modified in some way.. |
static int |
EVENT_PHOTO_RECORD_UPDATED
Deprecated. This event is no longer used. |
static int |
EVENT_POWER
Deprecated. use EVENT_BATTERY_STATE_CHANGED instead. |
static int |
EVENT_POWER_ON
Deprecated. For internal use only. |
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
Deprecated. For internal use only. |
static int |
EVENT_PROFILE_CHANGED
System master volume or mute status has been changed. |
static int |
EVENT_RADIO_RESET
Deprecated. For internal use only. |
static int |
EVENT_RADIO_STATE_CHANGE
Deprecated. For internal use only. |
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
Sent when the user selects the Redo operation for an edit text field. |
static int |
EVENT_ROAM_STATUS
Deprecated. For internal use only. |
static int |
EVENT_SCREEN_WINDOW_ACTIVATED
Deprecated. Override ScreenWindow.onScreenWindowActivate()
instead. |
static int |
EVENT_SCREEN_WINDOW_DEACTIVATED
Deprecated. Override ScreenWindow.onScreenWindowDeactivate()
instead. |
static int |
EVENT_SELECT_ALL
Sent when the user selects the Select All operation for an edit text field. |
static int |
EVENT_SEND_LINK
Deprecated. For internal use only. |
static int |
EVENT_SETTINGSDB_FLUSHED
Deprecated. Unused. |
static int |
EVENT_SHORTCUT
A menu shortcut has been used. |
static int |
EVENT_SHOW_EMERGENCY_SCREEN
Deprecated. For internal use only. |
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
Deprecated. For internal use only. |
static int |
EVENT_STOP_TEST_KEYPAD
Deprecated. For internal use only. |
static int |
EVENT_STORAGE_DEVICE_STATE_CHANGED
State of storage media changed. |
static int |
EVENT_STORE_STATE_CHANGED
The state of the store has changed. |
static int |
EVENT_SYSTEM_FONT_CHANGED
Used by FontManager.registerForSystemFontChangedEvent(danger.app.Listener). |
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
Sent when the system Style (which governs how menus, dialogs, etc. look) changes. |
static int |
EVENT_TIME_CHANGED
System time has been changed. |
static int |
EVENT_TIME_FORMAT_CHANGED
This event is sent when the time format has been changed (12/24 hour format). |
static int |
EVENT_TIMER
A timer has fired. |
static int |
EVENT_UNDO
Sent when the user selects the Undo operation for an edit text field. |
static int |
EVENT_USB_DATA
Deprecated. Unused. |
static int |
EVENT_USB_STATUS
Deprecated. For internal use only. |
static int |
EVENT_VIDEO
Some sort of video event has happened. |
static int |
EVENT_VIDEO_RECORD
Sent to the observers of a VideoRecord if anything about it changes (its file is renamed, etc.) |
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
Deprecated. Override Window.onActivate() instead. |
static int |
EVENT_WINDOW_DEACTIVATED
Deprecated. Override Window.onDeactivate() instead. |
static int |
EVENT_WINDOW_PAINT
Deprecated. For internal use only. |
static int |
MESSAGE_GOTO_URL
Deprecated. Instead of handling this event directly, use Application.openURL(danger.net.URL). |
static int |
MESSAGE_GOTO_URL_IN_BACKGROUND
Deprecated. Instead of handling this event directly, use Application.openURLInBackground(danger.net.URL). |
static int |
NAME_CHANGED
The name of a photo record has changed. |
static int |
PENDING_STATUS_VIEW_BITMAP_COUNT_CHANGED
Sent to the PendingStatusView's listener when the number of pending status icons has changed. |
static int |
PENDING_STATUS_VIEW_SIZE_CHANGED
Sent to the PendingStatusView's listener when its size changes. |
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
Deprecated. For internal use only. |
static int |
WHAT_BATTERY_COVER_REMOVED
with EVENT_BATTERY_COVER_STATE_CHANGED, this indicates the
state of the battery cover. |
static int |
WHAT_BATTERY_COVER_REPLACED
with EVENT_BATTERY_COVER_STATE_CHANGED, this indicates the
state of the battery cover. |
static int |
WHAT_BLUETOOTH_OFF
EXPERIMENTAL Experimental APIs are APIs that are early-stage and not yet finalized or fully qualified. In future releases, these APIs may be changed in incompatible ways, replaced or even removed completely without warning. For these reasons, Danger will not publish applications that use any experimental APIs.With EVENT_BLUETOOTH_STATE_CHANGED, this indicates the
state of the device's bluetooth radio. |
static int |
WHAT_BLUETOOTH_ON
EXPERIMENTAL Experimental APIs are APIs that are early-stage and not yet finalized or fully qualified. In future releases, these APIs may be changed in incompatible ways, replaced or even removed completely without warning. For these reasons, Danger will not publish applications that use any experimental APIs.With EVENT_BLUETOOTH_STATE_CHANGED, this indicates the
state of the device's bluetooth radio. |
static int |
WHAT_CAMERA_JACKED_IN
Deprecated. No longer used. |
static int |
WHAT_CAMERA_JACKED_OUT
Deprecated. No longer used. |
static int |
WHAT_CHANNEL_WRITE_TIMEOUT
Deprecated. For internal use only. |
static int |
WHAT_CMUX_BAD_CHECKSUM
Deprecated. For internal use only. |
static int |
WHAT_FILE_CREATED
With EVENT_FILESYSTEM_CONTENTS_CHANGED indicates a file was added to the filesystem. |
static int |
WHAT_FILE_DELETED
With EVENT_FILESYSTEM_CONTENTS_CHANGED indicates a file was deleted from the filesystem. |
static int |
WHAT_FILE_MODIFIED
With EVENT_FILESYSTEM_CONTENTS_CHANGED indicates a file was modified on the filesystem. |
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_MODE_READ_ONLY
With EVENT_FILESYSTEM_MODE_CHANGED, means the filesystem
layer is now in read-only mode. |
static int |
WHAT_MODE_READ_WRITE
With EVENT_FILESYSTEM_MODE_CHANGED, means the filesystem
layer is now in read-write mode. |
static int |
WHAT_NETWORK_IP_DEAD
Deprecated. For internal use only. |
static int |
WHAT_NETWORK_PDP_DEACTIVATED
Deprecated. For internal use only. |
static int |
WHAT_NETWORK_PERSONALIZATION_RESTORED
Deprecated. For internal use only. |
static int |
WHAT_NETWORK_PERSONALIZATION_SAVED
Deprecated. For internal use only. |
static int |
WHAT_NVMEM_ERASED
Deprecated. For internal use only. |
static int |
WHAT_OUT_OF_BUFFERS
Deprecated. For internal use only. |
static int |
WHAT_PDP_ACTIVATE_TIMEOUT
Deprecated. For internal use only. |
static int |
WHAT_POSITION_REACHED
Event.what parameter for EVENT_AUDIO event indicating
that a position has been reached. |
static int |
WHAT_RADIO_FIRMWARE_FIXED
Deprecated. For internal use only. |
static int |
WHAT_RADIO_IGNORED_LOW_POWER_REQUEST
Deprecated. For internal use only. |
static int |
WHAT_RADIO_RESET
Deprecated. For internal use only. |
static int |
WHAT_RADIO_WONT_WAKE
Deprecated. For internal use only. |
static int |
WHAT_RECORDING_ABORTED
Deprecated. - Use WHAT_RECORDING_DONE instead. |
static int |
WHAT_RECORDING_DONE
Event.what parameter for EVENT_AUDIO event indicating
that recording has stopped on its own, usually due to reaching its specified
duration. |
static int |
WHAT_RECORDING_ERROR
An error happened during audio recording. |
static int |
WHAT_RECORDING_STARTED
Event.what parameter for EVENT_AUDIO event indicating
that recording has started. |
static int |
WHAT_RECORDING_STOPPED
Event.what parameter for EVENT_AUDIO event indicating
that recording has been stopped. |
static int |
WHAT_SEQUENCE_LOOPED
Event.what parameter for EVENT_AUDIO event indicating
that a sequence has looped. |
static int |
WHAT_SEQUENCE_PURGED
Event.what parameter for EVENT_AUDIO event indicating
that a sequence has been purged. |
static int |
WHAT_SEQUENCE_STOPPED
Event.what parameter for EVENT_AUDIO event indicating
that a sequence has stopped. |
static int |
WHAT_SERIAL_WRITE_TIMEOUT
Deprecated. For internal use only. |
static int |
WHAT_SIM_ARRIVES
Used with EVENT_SIM_PRESENCE to note that a SIM card
has been inserted. |
static int |
WHAT_SIM_DEPARTS
Used with EVENT_SIM_PRESENCE to note that a SIM card
has been removed. |
static int |
WHAT_SIM_HARDWARE_ERROR
Deprecated. For internal use only. |
static int |
WHAT_SIM_INIT_TIMEOUT
Deprecated. For internal use only. |
static int |
WHAT_SOUND_LOOPED
Event.what parameter for EVENT_AUDIO event indicating
that a sound has looped. |
static int |
WHAT_SOUND_PURGED
Event.what parameter for EVENT_AUDIO event indicating
that a sound has been purged. |
static int |
WHAT_SOUND_STOPPED
Event.what parameter for EVENT_AUDIO event indicating
that a sound has stopped. |
static int |
WHAT_SPEAKER_BLUETOOTH
With EVENT_ACTIVE_SPEAKER_CHANGED, this indicates the
currently active speaker is the bluetooth headset. |
static int |
WHAT_SPEAKER_HEADSET
With EVENT_ACTIVE_SPEAKER_CHANGED, this indicates the
currently active speaker is the headset. |
static int |
WHAT_SPEAKER_INTERNAL
With EVENT_ACTIVE_SPEAKER_CHANGED, this indicates the
currently active speaker is the internal speaker. |
static int |
WHAT_SPEAKER_SPEAKERPHONE
With EVENT_ACTIVE_SPEAKER_CHANGED, this indicates the
currently active speaker is the speaker phone. |
static int |
WHAT_STAR_99_POUND_ERROR
Deprecated. For internal use only. |
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_STORE_OFFLINE
With EVENT_STORE_STATE_CHANGED indicates the store is now unavailable. |
static int |
WHAT_STORE_PRECACHING
With EVENT_STORE_STATE_CHANGED indicates the store is currently
precaching the results of a scan. |
static int |
WHAT_STORE_READY
With EVENT_STORE_STATE_CHANGED indicates the store is now available. |
static int |
WHAT_STORE_SCANNING
With EVENT_STORE_STATE_CHANGED indicates the store is currently scanning. |
static int |
WHAT_STREAM_LOOPED
Event.what parameter for EVENT_AUDIO event indicating
that a stream has looped. |
static int |
WHAT_STREAM_STOPPED
Event.what parameter for EVENT_AUDIO event indicating
that a stream has stopped. |
static int |
WHAT_SYSTEM_LOADED
Deprecated. For internal use only. |
static int |
WHAT_TONE_INSTALLED
Event.what parameter for EVENT_AUDIO event indicating
that a tone has been installed. |
static int |
WHAT_TONE_REMOVED
Event.what parameter for EVENT_AUDIO event indicating
that a tone has been removed. |
static int |
WHAT_TONE_START
Event.what parameter for EVENT_AUDIO event indicating
that a tone has started. |
static int |
WHAT_TONE_STOP
Event.what parameter for EVENT_AUDIO event indicating
that a tone has stopped. |
static int |
WHAT_UART_BREAK
Deprecated. For internal use only. |
static int |
WHAT_UART_FRAMING_ERROR
Deprecated. For internal use only. |
static int |
WHAT_UART_OVERRUN
Deprecated. For internal use only. |
static int |
WHAT_VIDEO_LOOPED
Event.what parameter for EVENT_VIDEO. |
static int |
WHAT_VIDEO_POSITION_REACHED
Event.what parameter for EVENT_VIDEO. |
static int |
WHAT_VIDEO_STOPPED
Event.what parameter for EVENT_VIDEO. |
| Field Detail |
|---|
static final int EVENT_APP_NETWORK
static final int EVENT_LOADER
static final int EVENT_IN_PHONE_STATUS
static final int EVENT_ROAM_STATUS
static final int EVENT_KEY_UP
static final int EVENT_KEY_DOWN
static final int EVENT_WIDGET_UP
static final int EVENT_WIDGET_DOWN
static final int EVENT_WIDGET_HELD
static final int EVENT_KEY_META
static final int EVENT_POWER_SWITCH_DOWN
static final int EVENT_POWER_SWITCH_UP
static final int EVENT_SHORTCUT
Menu,
MenuItem,
Constant Field Valuesstatic final int EVENT_MINUTE_TICK
static final int EVENT_POWER
EVENT_BATTERY_STATE_CHANGED instead.static final int EVENT_BATTERY_STATE_CHANGED
static final int BATTERY_FLAG_DC_PLUG
static final int BATTERY_FLAG_POWER
BatteryMonitorstatic final int BATTERY_FLAG_CHARGE
BatteryMonitorstatic final int BATTERY_FLAG_FULL
BatteryMonitorstatic final int BATTERY_FLAG_TEMP
static final int BATTERY_FLAG_SHUTDOWN
BatteryMonitorstatic final int BATTERY_FLAG_FAULT
static final int BATTERY_DISCHARGE
BatteryMonitorstatic final int BATTERY_NOPOWER
BatteryMonitorstatic final int BATTERY_CHARGE
BatteryMonitorstatic final int BATTERY_FULL
BatteryMonitorstatic final int BATTERY_HOT
static final int BATTERY_COLD
static final int EVENT_MENU_SHOWN
static final int EVENT_MENU_HIDDEN
static final int EVENT_AUDIO
static final int EVENT_INPUT_METHOD
static final int EVENT_KEY_HELD
static final int EVENT_USB_DATA
static final int EVENT_SETTINGSDB_FLUSHED
static final int EVENT_DATASTORE_RESTORED
static final int EVENT_AUTOSYNC_CATEGORYID_CHANGED
static final int EVENT_SIGNAL_STRENGTH
static final int EVENT_TIMER
Timer,
Constant Field Valuesstatic final int EVENT_ALARM
Alarm,
Constant Field Valuesstatic final int EVENT_SHOW_EMERGENCY_SCREEN
static final int EVENT_PERIODIC_PULSE
static final int EVENT_TIME_CHANGED
static final int EVENT_NETWORK_STATUS
static final int EVENT_WINDOW_PAINT
static final int EVENT_HINGE_CHANGED
Event.what field of the event record will
contain either WHAT_HINGE_OPENED or WHAT_HINGE_CLOSED.
static final int EVENT_MESSAGE
what
field contains the what value used in
Registrar.registerProvider(java.lang.String, danger.app.Listener, int), and the argument
field contains the IPC message object.
static final int EVENT_USB_STATUS
static final int EVENT_KEY_REPEAT
EVENT_KEY_DOWN and final
EVENT_KEY_UP events.
static final int EVENT_HEADSET_STATUS
static final int EVENT_CAMERA_STATUS
static final int EVENT_NUM_ACTIVE_VOICE_CALLS_CHANGED
Event.what parameter of the event will contain
the number of currently active voice calls.
static final int EVENT_CALL_CUSTOMER_CARE
static final int EVENT_NETWORK_ACTIVITY
static final int EVENT_PROFILE_CHANGED
static final int EVENT_SIM_UNLOCKED
static final int EVENT_SIM_PRESENCE
static final int EVENT_NETWORK_ERROR
static final int EVENT_POWER_ON
static final int EVENT_IP_ADDRESS
static final int EVENT_RADIO_RESET
static final int EVENT_SYSTEM_STYLE_CHANGED
static final int EVENT_PREFERENCES_CHANGED
static final int EVENT_CUT
static final int EVENT_COPY
static final int EVENT_PASTE
static final int EVENT_SELECT_ALL
static final int EVENT_DELETE_SELECTION
static final int EVENT_ICON_GALLERY_UPDATED
static final int EVENT_PHOTO_RECORD_UPDATED
static final int EVENT_ICON_RECORD_UPDATED
static final int EVENT_IMAGE_GALLERY_CONTROLLER_UPDATED
static final int EVENT_ENTERING_KEY_GUARD
Application.registerForEvent(danger.app.Listener, int).
See related event EVENT_LEAVING_KEY_GUARD.
static final int EVENT_CONNECTION_DOWN
Application.setReceiveConnectivityEvents(boolean).
static final int EVENT_CONNECTION_UP
Application.setReceiveConnectivityEvents(boolean).
static final int EVENT_AUTO_SYNC_DONE
static final int EVENT_TIME_FORMAT_CHANGED
Application.registerForEvent(danger.app.Listener, int).
static final int EVENT_WINDOW_ACTIVATED
Window.onActivate() instead.static final int EVENT_WINDOW_DEACTIVATED
Window.onDeactivate() instead.static final int EVENT_SCREEN_WINDOW_ACTIVATED
ScreenWindow.onScreenWindowActivate()
instead.static final int EVENT_SCREEN_WINDOW_DEACTIVATED
ScreenWindow.onScreenWindowDeactivate()
instead.static final int EVENT_RAW_KEY_DOWN
static final int EVENT_RAW_KEY_UP
static final int EVENT_RAW_KEY_REPEAT
static final int EVENT_RAW_KEY_HELD
static final int EVENT_BACKLIGHT_CHANGED
static final int EVENT_UNDO
static final int EVENT_REDO
static final int EVENT_LINK_TEXT_BOX_HAS_PAGED_UP
static final int EVENT_LINK_TEXT_BOX_HAS_PAGED_DOWN
static final int EVENT_PHOTO_RECORD
static final int EVENT_PHOTO_GALLERY
static final int EVENT_PHOTO_GALLERY_PROXY
static final int EVENT_PHOTO_PROXY_RECORD_CONTAINER
static final int EVENT_STOP_TEST_KEYPAD
static final int EVENT_PDP_CONTEXT_ACTIVATION_ERROR
static final int EVENT_RADIO_STATE_CHANGE
static final int EVENT_IM_SERVICES
static final int EVENT_OPEN_LINK
static final int EVENT_COPY_LINK
static final int EVENT_SEND_LINK
static final int EVENT_ADD_LINK
static final int EVENT_LEAVING_KEY_GUARD
static final int EVENT_MAILTO_LINK_ADD_CONTACT
static final int EVENT_LOW_MEMORY
static final int EVENT_PHONE_LINK_ADD_CONTACT
static final int EVENT_ACTIVE_SPEAKER_CHANGED
static final int EVENT_AUDIO_MEDIA_VOLUME_CHANGED
Application.registerForEvent(danger.app.Listener, int).
static final int EVENT_BATTERY_COVER_STATE_CHANGED
Battery cover was removed or replaced by the user.
To receive this event, you must register to receive it by using
Application.registerForEvent(danger.app.Listener, int).
The event what field will be either
WHAT_BATTERY_COVER_REMOVED or
WHAT_BATTERY_COVER_REPLACED.
Note, if you are
only interested in whether the memory card is currently
available, you should instead use EVENT_FILESYSTEM_MODE_CHANGED.
static final int EVENT_JUMP_SHORTCUTS_CHANGED
Jump shortcuts were changed by the user.
In order to receive this event, you need to register for
it by using HotKeyManager.registerForHotKeyChangedEvents(danger.app.Listener).
static final int EVENT_STORAGE_DEVICE_STATE_CHANGED
static final int WHAT_STORAGE_DEVICE_INSERTED
static final int WHAT_STORAGE_DEVICE_REMOVED
static final int WHAT_STORAGE_DEVICE_MOUNTED
static final int WHAT_STORAGE_DEVICE_UNMOUNTED
static final int WHAT_STORAGE_DEVICE_PUBLISHED
static final int WHAT_STORAGE_DEVICE_UNPUBLISHED
static final int WHAT_STORAGE_DEVICE_MODIFIED
static final int EVENT_BLUETOOTH_STATE_CHANGED
static final int EVENT_AUDIO_MEDIA_VOLUME_CHANGE_REQUESTED
AudioManager.registerMediaPlayer(danger.app.Listener, java.lang.String, danger.ui.Bitmap).
AudioManager,
Constant Field Valuesstatic final int EVENT_MEDIA_PLAYER_STATE_CHANGED
static final int WHAT_MEDIA_PLAYER_SHOW_MINI
static final int WHAT_MEDIA_PLAYER_HIDE_MINI
static final int WHAT_MEDIA_PLAYER_START_TRACK
static final int WHAT_MEDIA_PLAYER_UPDATE_TRACK
static final int WHAT_MEDIA_PLAYER_PAUSE_TRACK
static final int WHAT_MEDIA_PLAYER_STOP_TRACK
static final int EVENT_PHONE_STANDBY_TEXT_CHANGED
The phone standby text has changed. This is usually just the carrier name of the tower you are connected to.
To receive this event, you must register to receive it by using
Application.registerForEvent(danger.app.Listener, int).
static final int EVENT_MIDLET_DISPLAY_OBSCURED
Canvas.hideNotify() is not called when a
dialog pops up and obscures part of the display, so a
MIDlet must register for this event instead.
ExtensionManager.addDisplayListener(danger.app.Listener),
Constant Field Valuesstatic final int EVENT_MIDLET_DISPLAY_CLEARED
Canvas.showNotify() is not called when a
dialog is hidden, so a MIDlet must register for this
event instead.
ExtensionManager.addDisplayListener(danger.app.Listener),
Constant Field Valuesstatic final int EVENT_MIDLET_FUNNEL_TRANSACTION
Application.networkEvent() method, but since
MIDlets don't have a public Application
object, they must register for this event instead.
ExtensionManager.addNetworkListener(danger.app.Listener),
Constant Field Valuesstatic final int EVENT_SYSTEM_FONT_CHANGED
FontManager.registerForSystemFontChangedEvent(danger.app.Listener).
static final int EVENT_FILESYSTEM_CONTENTS_CHANGED
static final int EVENT_VIDEO
static final int WHAT_FILE_CREATED
EVENT_FILESYSTEM_CONTENTS_CHANGED indicates a file was added to the filesystem.
static final int WHAT_FILE_DELETED
EVENT_FILESYSTEM_CONTENTS_CHANGED indicates a file was deleted from the filesystem.
static final int WHAT_FILE_MODIFIED
EVENT_FILESYSTEM_CONTENTS_CHANGED indicates a file was modified on the filesystem.
static final int EVENT_STORE_STATE_CHANGED
static final int WHAT_STORE_READY
EVENT_STORE_STATE_CHANGED indicates the store is now available.
static final int WHAT_STORE_OFFLINE
EVENT_STORE_STATE_CHANGED indicates the store is now unavailable.
static final int WHAT_STORE_SCANNING
EVENT_STORE_STATE_CHANGED indicates the store is currently scanning.
static final int WHAT_STORE_PRECACHING
EVENT_STORE_STATE_CHANGED indicates the store is currently
precaching the results of a scan.
static final int EVENT_INVALID
static final int EVENT_FILESYSTEM_MODE_CHANGED
static final int WHAT_MODE_READ_ONLY
EVENT_FILESYSTEM_MODE_CHANGED, means the filesystem
layer is now in read-only mode.
static final int WHAT_MODE_READ_WRITE
EVENT_FILESYSTEM_MODE_CHANGED, means the filesystem
layer is now in read-write mode.
static final int EVENT_SYSTEM_LAST
static final int WHAT_SEQUENCE_STOPPED
Event.what parameter for EVENT_AUDIO event indicating
that a sequence has stopped.
static final int WHAT_SOUND_STOPPED
Event.what parameter for EVENT_AUDIO event indicating
that a sound has stopped.
static final int WHAT_SEQUENCE_PURGED
Event.what parameter for EVENT_AUDIO event indicating
that a sequence has been purged.
static final int WHAT_SOUND_PURGED
Event.what parameter for EVENT_AUDIO event indicating
that a sound has been purged.
static final int WHAT_TONE_INSTALLED
Event.what parameter for EVENT_AUDIO event indicating
that a tone has been installed.
static final int WHAT_TONE_REMOVED
Event.what parameter for EVENT_AUDIO event indicating
that a tone has been removed.
static final int WHAT_RECORDING_STARTED
Event.what parameter for EVENT_AUDIO event indicating
that recording has started.
static final int WHAT_RECORDING_STOPPED
Event.what parameter for EVENT_AUDIO event indicating
that recording has been stopped.
static final int WHAT_RECORDING_ABORTED
WHAT_RECORDING_DONE instead.Event.what parameter for EVENT_AUDIO event indicating
that recording has stopped on its own, usually due to reaching its specified
duration.
static final int WHAT_RECORDING_DONE
Event.what parameter for EVENT_AUDIO event indicating
that recording has stopped on its own, usually due to reaching its specified
duration.
static final int WHAT_RECORDING_ERROR
static final int WHAT_TONE_START
Event.what parameter for EVENT_AUDIO event indicating
that a tone has started.
static final int WHAT_TONE_STOP
Event.what parameter for EVENT_AUDIO event indicating
that a tone has stopped.
static final int WHAT_SEQUENCE_LOOPED
Event.what parameter for EVENT_AUDIO event indicating
that a sequence has looped.
static final int WHAT_SOUND_LOOPED
Event.what parameter for EVENT_AUDIO event indicating
that a sound has looped.
static final int WHAT_STREAM_STOPPED
Event.what parameter for EVENT_AUDIO event indicating
that a stream has stopped.
static final int WHAT_STREAM_LOOPED
Event.what parameter for EVENT_AUDIO event indicating
that a stream has looped.
static final int WHAT_POSITION_REACHED
Event.what parameter for EVENT_AUDIO event indicating
that a position has been reached.
static final int WHAT_VIDEO_STOPPED
Event.what parameter for EVENT_VIDEO.
static final int WHAT_VIDEO_LOOPED
Event.what parameter for EVENT_VIDEO.
static final int WHAT_VIDEO_POSITION_REACHED
Event.what parameter for EVENT_VIDEO.
static final int WHAT_CMUX_BAD_CHECKSUM
static final int WHAT_RADIO_WONT_WAKE
static final int WHAT_RADIO_IGNORED_LOW_POWER_REQUEST
static final int WHAT_UART_OVERRUN
static final int WHAT_UART_FRAMING_ERROR
static final int WHAT_UART_BREAK
static final int WHAT_RADIO_RESET
static final int WHAT_CHANNEL_WRITE_TIMEOUT
static final int WHAT_NETWORK_IP_DEAD
static final int WHAT_STAR_99_POUND_ERROR
static final int WHAT_AT_COMMAND_TIMEOUT
static final int WHAT_PDP_ACTIVATE_TIMEOUT
static final int WHAT_RADIO_FIRMWARE_FIXED
static final int WHAT_SIM_HARDWARE_ERROR
static final int WHAT_SIM_INIT_TIMEOUT
static final int WHAT_NVMEM_ERASED
static final int WHAT_NETWORK_PERSONALIZATION_RESTORED
static final int WHAT_NETWORK_PERSONALIZATION_SAVED
static final int WHAT_SERIAL_WRITE_TIMEOUT
static final int WHAT_OUT_OF_BUFFERS
static final int WHAT_NETWORK_PDP_DEACTIVATED
static final int WHAT_LOW_DATA
EVENT_LOW_MEMORY, means that the system is running
low on data space (memory per se)
static final int WHAT_LOW_HANDLES
EVENT_LOW_MEMORY, means that the system is running
low on handles
static final int WHAT_SPEAKER_INTERNAL
EVENT_ACTIVE_SPEAKER_CHANGED, this indicates the
currently active speaker is the internal speaker.
static final int WHAT_SPEAKER_HEADSET
EVENT_ACTIVE_SPEAKER_CHANGED, this indicates the
currently active speaker is the headset.
static final int WHAT_SPEAKER_SPEAKERPHONE
EVENT_ACTIVE_SPEAKER_CHANGED, this indicates the
currently active speaker is the speaker phone.
static final int WHAT_SPEAKER_BLUETOOTH
EVENT_ACTIVE_SPEAKER_CHANGED, this indicates the
currently active speaker is the bluetooth headset.
static final int WHAT_BATTERY_COVER_REMOVED
EVENT_BATTERY_COVER_STATE_CHANGED, this indicates the
state of the battery cover.
static final int WHAT_BATTERY_COVER_REPLACED
EVENT_BATTERY_COVER_STATE_CHANGED, this indicates the
state of the battery cover.
static final int WHAT_BLUETOOTH_OFF
EVENT_BLUETOOTH_STATE_CHANGED, this indicates the
state of the device's bluetooth radio.
static final int WHAT_BLUETOOTH_ON
EVENT_BLUETOOTH_STATE_CHANGED, this indicates the
state of the device's bluetooth radio.
static final int DEVICE_META_NONE
Event.what field for EVENT_KEY_META.
static final int DEVICE_META_CAPS
Event.what field for EVENT_KEY_META.
static final int DEVICE_META_ALT
Event.what field for EVENT_KEY_META.
static final int DEVICE_META_CAPS_LOCKED
Event.what field for EVENT_KEY_META.
static final int DEVICE_META_ALT_LOCKED
Event.what field for EVENT_KEY_META.
static final int DEVICE_META_SHIFT_ALT
Event.what field for EVENT_KEY_META.
static final int DEVICE_WHEEL
Device wheel has been pushed up or pulled down.
Sent to View.eventWidgetUp(int, danger.app.Event) when the wheel is pushed up
and to View.eventWidgetDown(int, danger.app.Event) when the wheel is pulled down.
Note that no current devices have a wheel; they have a trackball instead.
Therefore, this event is normally not sent. Trackball movement results
in DEVICE_NAVIGATION instead.
what value for EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD.
static final int DEVICE_WHEEL_BUTTON
View.eventWidgetUp(int, danger.app.Event) or View.eventWidgetDown(int, danger.app.Event) when
the trackball is pressed. If you want auto-repeat functionality,
override View.eventWidgetDown(int, danger.app.Event). If you don't, receive the
event through View.eventWidgetUp(int, danger.app.Event).
static final int DEVICE_BUTTON_BACK
View.eventWidgetUp(int, danger.app.Event) or View.eventWidgetDown(int, danger.app.Event) when
the back button is pressed. If you want auto-repeat functionality,
override View.eventWidgetDown(int, danger.app.Event). If you don't, receive the
event through View.eventWidgetUp(int, danger.app.Event).
static final int DEVICE_BUTTON_MENU
View.eventWidgetUp(int, danger.app.Event) or View.eventWidgetDown(int, danger.app.Event) when
the menu button is pressed. If you want auto-repeat functionality,
override View.eventWidgetDown(int, danger.app.Event). If you don't, receive the
event through View.eventWidgetUp(int, danger.app.Event).
static final int DEVICE_ARROW_LEFT
View.eventWidgetUp(int, danger.app.Event) or View.eventWidgetDown(int, danger.app.Event) when
the left arrow key is pressed. If you want auto-repeat functionality,
override View.eventWidgetDown(int, danger.app.Event). If you don't, receive the
event through View.eventWidgetUp(int, danger.app.Event).
static final int DEVICE_ARROW_UP
View.eventWidgetUp(int, danger.app.Event) or View.eventWidgetDown(int, danger.app.Event) when
the up arrow key is pressed. If you want auto-repeat functionality,
override View.eventWidgetDown(int, danger.app.Event). If you don't, receive the
event through View.eventWidgetUp(int, danger.app.Event).
static final int DEVICE_ARROW_RIGHT
View.eventWidgetUp(int, danger.app.Event) or View.eventWidgetDown(int, danger.app.Event) when
the right arrow key is pressed. If you want auto-repeat functionality,
override View.eventWidgetDown(int, danger.app.Event). If you don't, receive the
event through View.eventWidgetUp(int, danger.app.Event).
static final int DEVICE_ARROW_DOWN
View.eventWidgetUp(int, danger.app.Event) or View.eventWidgetDown(int, danger.app.Event) when
the down arrow key is pressed. If you want auto-repeat functionality,
override View.eventWidgetDown(int, danger.app.Event). If you don't, receive the
event through View.eventWidgetUp(int, danger.app.Event).
static final int DEVICE_BUTTON_JUMP
View.eventWidgetUp(int, danger.app.Event) or View.eventWidgetDown(int, danger.app.Event) when
the jump button is pressed. If you want auto-repeat functionality,
override View.eventWidgetDown(int, danger.app.Event). If you don't, receive the
event through View.eventWidgetUp(int, danger.app.Event).
static final int DEVICE_MULTIPLE_WHEEL
View.eventWidgetUp(int, danger.app.Event) when wheel is pushed up
and to View.eventWidgetDown(int, danger.app.Event) when wheel is pulled down.
This is used for auto-repeat functionality. The Event.what
parameter of the call will be relative to the amount of time
the wheel was held in the up or down position.
Note that no current devices have a wheel; they have a trackball instead.
Therefore, this event is normally not sent. Trackball movement results
in DEVICE_NAVIGATION instead.
static final int DEVICE_WHEEL_PAGE_UP
View.eventWidgetUp(int, danger.app.Event) when trackball is rolled up
while the MENU button is held down.
static final int DEVICE_WHEEL_PAGE_DOWN
View.eventWidgetDown(int, danger.app.Event) when trackball is rolled down
while the MENU button is held down.
static final int DEVICE_BUTTON_SEND
EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD.
static final int DEVICE_BUTTON_END
EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD.
static final int DEVICE_BUTTON_VOLUME_UP
EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD.
static final int DEVICE_BUTTON_VOLUME_DOWN
EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD.
static final int DEVICE_BUTTON_LEFT_SHOULDER
EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD.
static final int DEVICE_BUTTON_RIGHT_SHOULDER
EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD.
static final int DEVICE_BUTTON_DONE
DEVICE_BUTTON_BACK instead.
static final int DEVICE_BUTTON_CANCEL
EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD.
static final int DEVICE_EXT_HOOK_DOWN
EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD.
static final int DEVICE_EXT_HOOK_UP
EVENT_WIDGET_UP,
EVENT_WIDGET_DOWN, and
EVENT_WIDGET_HELD.
static final int DEVICE_ARROW_UP_LEFT
View.eventWidgetUp(int, danger.app.Event) or View.eventWidgetDown(int, danger.app.Event) when
the up/left diagonal has been pressed. If you want auto-repeat functionality,
override View.eventWidgetDown(int, danger.app.Event). If you don't, receive the
event through View.eventWidgetUp(int, danger.app.Event).
static final int DEVICE_ARROW_DOWN_LEFT
View.eventWidgetUp(int, danger.app.Event) or View.eventWidgetDown(int, danger.app.Event) when
the down/left diagonal has been pressed. If you want auto-repeat functionality,
override View.eventWidgetDown(int, danger.app.Event). If you don't, receive the
event through View.eventWidgetUp(int, danger.app.Event).
static final int DEVICE_ARROW_UP_RIGHT
View.eventWidgetUp(int, danger.app.Event) or View.eventWidgetDown(int, danger.app.Event) when
the up/right diagonal has been pressed. If you want auto-repeat functionality,
override View.eventWidgetDown(int, danger.app.Event). If you don't, receive the
event through View.eventWidgetUp(int, danger.app.Event).
static final int DEVICE_ARROW_DOWN_RIGHT
View.eventWidgetUp(int, danger.app.Event) or View.eventWidgetDown(int, danger.app.Event) when
the down/right diagonal has been pressed. If you want auto-repeat functionality,
override View.eventWidgetDown(int, danger.app.Event). If you don't, receive the
event through View.eventWidgetUp(int, danger.app.Event).
static final int DEVICE_NAVIGATION
Trackball has been moved.
Sent to View.eventWidgetDown(int, danger.app.Event) when the user moves
the trackball.
If the user moves the navigation device quickly, you will only receive one coalesced navigation event for the movement.
Use the methods Event.getHorizontalCount() and
Event.getVerticalCount() to determine
how far and in what direction
the navigation device has been moved:
EVENT_WIDGET_DOWN.
static final int WHAT_HEADSET_JACKED_IN
Event.what parameter when the EVENT_HEADSET_STATUS
event is received.
static final int WHAT_HEADSET_JACKED_OUT
Event.what parameter when the EVENT_HEADSET_STATUS
event is received.
static final int WHAT_CAMERA_JACKED_IN
static final int WHAT_CAMERA_JACKED_OUT
static final int WHAT_HINGE_OPENED
Event.what parameter when the EVENT_HINGE_CHANGED
event is received.
static final int WHAT_HINGE_CLOSED
Event.what parameter when the EVENT_HINGE_CHANGED
event is received.
static final int WHAT_SYSTEM_LOADED
static final int MESSAGE_GOTO_URL
Application.openURL(danger.net.URL).static final int MESSAGE_GOTO_URL_IN_BACKGROUND
Application.openURLInBackground(danger.net.URL).static final int EVENT_MODIFIER_NONE
EventModifier.NONE instead.static final int EVENT_MODIFIER_CAPS
EventModifier.SHIFT instead.static final int EVENT_MODIFIER_ALT
EventModifier.ALT instead.static final int EVENT_MODIFIER_SYM
EventModifier.SYM instead.static final int EVENT_MODIFIER_BACK_BUTTON
EventModifier.BACK instead.static final int EVENT_MODIFIER_MENU_BUTTON
EventModifier.MENU instead.static final int EVENT_MODIFIER_JUMP_BUTTON
EventModifier.JUMP instead.static final int EVENT_MODIFIER_TRACKBALL
EventModifier.TRACKBALL instead.static final int EVENT_MODIFIER_WHEEL
static final int EVENT_MODIFIER_CANCEL_BUTTON
EventModifier.CANCEL instead.static final int RECORD_ADDED
static final int RECORD_REMOVED
static final int RECORD_PENDING
static final int SORT_CHANGED
static final int BITMAP_DECODED
static final int SELECTION_CHANGED
static final int NAME_CHANGED
static final int UID_CHANGED
static final int RECORD_UPDATED
static final int RECORD_ROTATED
static final int WHAT_SIM_DEPARTS
EVENT_SIM_PRESENCE to note that a SIM card
has been removed. Note that current hardware does not support this.
static final int WHAT_SIM_ARRIVES
EVENT_SIM_PRESENCE to note that a SIM card
has been inserted. Note that current hardware does not support this.
static final int EVENT_MIDLET_MESSAGE
static final int EVENT_MIDLET_AUTO_SYNC_DONE
static final int EVENT_MIDLET_DATASTORE_RESTORED
static final int EVENT_COPY_FROM_ADDRESS_BOOK
static final int EVENT_DATE_CHANGED
static final int EVENT_VIDEO_RECORD
static final int PENDING_STATUS_VIEW_SIZE_CHANGED
static final int PENDING_STATUS_VIEW_BITMAP_COUNT_CHANGED
static final int EVENT_FONT_MENU_ITEM_SELECTED
Font.getFontMenu(danger.app.Listener) or
Font.addFontsToMenu(danger.ui.Menu, danger.app.Listener).
static final int EVENT_CONTACTS_HAVE_SYNCED
Application.registerForEvent(danger.app.Listener, int) to register to receive this
event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||