Slide 21
Slide 21 text
5FTU1MVHJOΫϥεͷ࣮
public class TestPlugin extends CordovaPlugin {
@Override
public boolean execute(String action,
JSONArray args,
CallbackContext callbackContext)
throws JSONException {
callbackContext.success();
android.widget.Toast.makeText(
this.cordova.getActivity(),
args.getString(0), 2000).show();
return true;
}
}