phonostar / phonegap-softkeyboard Goto Github PK
View Code? Open in Web Editor NEWAndroid SoftKeyboard Plugin for PhoneGap
License: MIT License
Android SoftKeyboard Plugin for PhoneGap
License: MIT License
Can you please provide a fork for 2.9? i can't find one wich work..
I'm using cordova version 5.3.3
Using the following commands to create new android project "demo":
cordova create demo
cd demo
cordova platform add android
cordova plugin add https://github.com/ti8m/DocumentHandler.git
cordova plugin add https://github.com/phonostar/PhoneGap-SoftKeyboard.git
cordova build android
**build failed:
C:\Users\demo\platforms\android\src\de\phonostar\SoftKeyboard.java:18: error: incompatible types: CordovaWebView cannot be converted to View mgr.showSoftInput(webView, InputMethodManager.SHOW_IMPLICIT);**
it works in version 4.3 and below,
using phonegap 5.3.6 gives the same error.
Please help,
Thanks
Might save someone some time...
From a quick glance at the plugin XML, looks like there's only Android platform support. Could be wrong. Documentation would be rad.
Android 4.03 and 4.11
when I call your method
SoftKeyboard.isShowing(function(){ alert('success'); }, function(){ alert('fail'); })
it will alert 'success'
but when I only call your method
SoftKeyboard.show()
and the keyboard will show about Half a second (In fact, a shorter time)
and disappear by itself
I have a PhoneGap Build 3.3.0 project, I'm using Angular 1.2.15 to handle all JS interaction.
Am I missing anything?
scope.$watch('searchfocus', function(value) {
$timeout(function() {
if (value == true) {
if(document.activeElement != element[0]) {
try {
element[0].focus();
SoftKeyBoard.show();
}
catch (e) {
alert(e);
}
}
}
}, 500);
});
There is a way to improve that plugin to show different type of keyboard? (number, mail...)
Hi,
This plugin does not work in Android 4.4+ but it works well in the devices which are <Android 4.4 such as 4.1,4.2,4.3.
Any suggestion?
Thanks.
Best Regards,
Jack
any example ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.