Skip to content

Instantly share code, notes, and snippets.

@molcik
Created July 5, 2018 07:58
Show Gist options
  • Save molcik/d3f85cbe5f95e737352caf36a0fc5a14 to your computer and use it in GitHub Desktop.
Save molcik/d3f85cbe5f95e737352caf36a0fc5a14 to your computer and use it in GitHub Desktop.
Calling Cordova Android Funtion from Javascript
cordova.exec(function(success) {}, //success callback
function(error) {}, //error callback
"Example", //class name
"YOUR_ACTION_NAME_PARAMETER", //action name
["Dog", "Pig", 42, false]); //args
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment