mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
Remove unused files/classes until they are needed.
This commit is contained in:
parent
e30896155c
commit
e1e04f859c
Binary file not shown.
1
framework/res/xml/plugins.xml
Normal file → Executable file
1
framework/res/xml/plugins.xml
Normal file → Executable file
@ -16,5 +16,4 @@
|
||||
<plugin name="FileTransfer" value="com.phonegap.FileTransfer"/>
|
||||
<plugin name="Capture" value="com.phonegap.Capture"/>
|
||||
<plugin name="Battery" value="com.phonegap.BatteryListener"/>
|
||||
<plugin name="Keyboard" value="com.phonegap.KeyboardHandler" />
|
||||
</plugins>
|
||||
|
@ -1,33 +0,0 @@
|
||||
package com.phonegap;
|
||||
|
||||
import org.json.JSONArray;
|
||||
|
||||
import com.phonegap.api.Plugin;
|
||||
import com.phonegap.api.PluginResult;
|
||||
|
||||
public class KeyboardHandler extends Plugin {
|
||||
|
||||
|
||||
/*
|
||||
* This will never be called!
|
||||
* (non-Javadoc)
|
||||
* @see com.phonegap.api.Plugin#execute(java.lang.String, org.json.JSONArray, java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public PluginResult execute(String action, JSONArray args, String callbackId) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public void onMessage(String id, Object data)
|
||||
{
|
||||
if(id.equals("keyboardHidden"))
|
||||
{
|
||||
super.sendJavascript("PhoneGap.fireDocumentEvent('hidekeyboard');");
|
||||
}
|
||||
else if(id.equals("keyboardVisible"))
|
||||
{
|
||||
super.sendJavascript("PhoneGap.fireDocumentEvent('showkeyboard');");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user