Reputation: 427
I am developing an Android application using Phonegap and used the SoftKeyboard plugin which is found here and use this plugins under the guidence of How to use Phonegap SoftKeyboard Plugin for Android? this link.its working fine.
i used this code ((((window || {}).plugins || {}).SoftKeyBoard || {}).show || function(){})();
to prevent the undefined problem..
My problem is i need to know the keyboard hide and show event how to find out this?
Upvotes: 1
Views: 1786
Reputation: 3108
use this plugin
Install plugin by using this command.
cordova plugin add https://github.com/phonostar/PhoneGap-SoftKeyboard.git
It will automatically place all necessary files to proper place and change configurations. Use like
SoftKeyboard.show();
SoftKeyboard.hide();
Upvotes: 1