Is there a way to run a javascript function in a button action for example:
var type = application.getApplicationType();
if (type == 5){
alert('Hello');
} else if (type == 2 || type == 3 || type == 6){
plugins.dialogs.showInfoDialog("","Hello","Ok");
}
Google has released its easy to use Charts and Graphs API. They state “just send your data in an http request and get a png image graph back.” Details can be found at: