Sunday, July 11, 2010

Android Input Method Framework


http://androidappdocs.appspot.com/resources/samples/SoftKeyboard/index.html
http://androidappdocs.appspot.com/resources/articles/on-screen-inputs.html
InputMethodManager Architecture Overview

There are three primary parties involved in the input method framework (IMF) architecture:

    * The input method manager as expressed by this class is the central point of the system that manages interaction between all other parts. It is expressed as the client-side API here which exists in each application context and communicates with a global system service that manages the interaction across all processes.
    * An input method (IME) implements a particular interaction model allowing the user to generate text. The system binds to the current input method that is use, causing it to be created and run, and tells it when to hide and show its UI. Only one IME is running at a time.
    * Multiple client applications arbitrate with the input method manager for input focus and control over the state of the IME. Only one such client is ever active (working with the IME) at a time.

package
android.view.inputmethod
      Interfaces
           InputConnection
           InputMethod
           InputMethod.SessionCallback
           InputMethodSession
           InputMethodSession.EventCallback
      Classes
           BaseInputConnection
           CompletionInfo
           EditorInfo
           ExtractedText
           ExtractedTextRequest
           InputBinding
           InputConnectionWrapper
           InputMethodInfo
           InputMethodManager

package
android.inputmethodservice

      Interfaces
           KeyboardView.OnKeyboardActionListener
      Classes
           AbstractInputMethodService
           AbstractInputMethodService.AbstractInputMethodImpl
           AbstractInputMethodService.AbstractInputMethodSessionImpl
           ExtractEditText
           InputMethodService
           InputMethodService.InputMethodImpl
           InputMethodService.InputMethodSessionImpl
           InputMethodService.Insets
           Keyboard
           Keyboard.Key
           Keyboard.Row
           KeyboardView

Add a reaction

About You

Comment