Remove unused files/classes until they are needed.

This commit is contained in:
Bryce Curtis 2012-01-24 22:42:41 -06:00
parent e30896155c
commit e1e04f859c
3 changed files with 0 additions and 34 deletions

Binary file not shown.

1
framework/res/xml/plugins.xml Normal file → Executable file
View 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>

View File

@ -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');");
}
}
}