#18 - fixed cordova 3.6.0 deprecation warnings, so we're ready for Cordova 4.x

This commit is contained in:
EddyVerbruggen
2014-09-27 15:41:53 +02:00
parent b9700455c7
commit 2fdfde7a1a
3 changed files with 13 additions and 5 deletions
@@ -6,6 +6,14 @@ import org.apache.cordova.CordovaPlugin;
import org.json.JSONArray;
import org.json.JSONException;
/*
// TODO nice way for the Toast plugin to offer a longer delay than the default short and long options
// TODO also look at https://github.com/JohnPersano/Supertoasts
new CountDownTimer(6000, 1000) {
public void onTick(long millisUntilFinished) {toast.show();}
public void onFinish() {toast.show();}
}.start();
*/
public class Toast extends CordovaPlugin {
private static final String ACTION_SHOW_EVENT = "show";