Activity User Event

Description

Users interact with your UI at two levels:

  • the activity level and
  • the view level.

At the activity level, the Activity class exposes methods that you can override.

Some common methods that you can override in your activities include the following:

  • onKeyDown - Called when a key was pressed and not handled by any of the views contained within the activity
  • onKeyUp - Called when a key was released and not handled by any of the views contained within the activity
  • onMenuItemSelected - Called when a panel's menu item has been selected by the user
  • onMenuOpened - Called when a panel's menu is opened by the user




















Home »
  Android »
    Android Basics »




Hello Android
Resources
Activity
Calendar
Camera
Contact
Content Provider
Database
Hardware
Intent
Location
Media
Network
Notification
Preference
Sensor
Service
SMS