English | Site Directory

Android - An Open Handset Alliance Project

android.text.method
public interface

android.text.method.InputMethod

android.text.method.InputMethod
Known Indirect Subclasses

Summary

Public Methods

        boolean  onKeyDown(View view, Editable text, int keyCode, KeyEvent event)
If the input method wants to handle this key, return true, otherwise return false and the caller (i.e.
        boolean  onKeyUp(View view, Editable text, int keyCode, KeyEvent event)
If the input method wants to handle this key release, return true, otherwise return false and the caller (i.e.

Details

Public Methods

public boolean onKeyDown(View view, Editable text, int keyCode, KeyEvent event)

If the input method wants to handle this key, return true, otherwise return false and the caller (i.e. the widget host) will handle the key.

public boolean onKeyUp(View view, Editable text, int keyCode, KeyEvent event)

If the input method wants to handle this key release, return true, otherwise return false and the caller (i.e. the widget host) will handle the key.
Build m5-rc15g - 14 May 2008 12:50