SoftKeyboard

Android SoftKeyboard
phonostar GmbH0.1.116
platforms: android
$ cordova plugin add de.phonostar.softkeyboard

PhoneGap-SoftKeyboard

Android SoftKeyboard Plugin for PhoneGap.

NOTE: The development of this plugin is discontinued.

Usage

// Open the soft keyboard.
SoftKeyboard.show();

// Close the soft keyboard.
SoftKeyboard.hide();

// Check whether the keyboard is open or closed.
SoftKeyboard.isShowing(function(isShowing){
  if (isShowing) {  
    console.log('soft keyboard open');
  } else {
    console.log('soft keyboard closed');
  }
}, function(){ 
  console.log('error');
})

HINT: (undocumented cordova callbacks) To have callback for hiding and showing the keyboard you can use: "showkeyboard" / "hidekeyboard" events wich are not mentioned in the docs.