All Products
Search
Document Center

SuperApp:Calling

Last Updated:Oct 11, 2025

This topic describes the JavaScript APIs of WVCall. You can refer to this topic when you create HTML5 apps or Miniapps. You can use the JavaScript APIs of WVCall to jump to the dial keypad and make a phone call directly.

WVCall.dial

Note

This API is available only in WindVane Android 1.0.3.4 or later.

Jumps to the dial keypad.

Input parameters

  • [string]phone: the phone number.

Callback parameters

Parameters for a success callback:

  • No callback parameters exist.

Parameters for a failure callback:

  • [string]msg: the error message.

var params = {
  phone: '1320000000',
};

window.WindVane.call('WVCall', 'dial', params, function(e) {
}, function(e) {
        alert('failure: ' + JSON.stringify(e));
});

WVCall.call

Note

This API is available only in WindVane Android 1.0.3.4 or later.

Makes a phone call directly.

Input parameters

  • [string]phone: the phone number.

Callback parameters

Parameters for a success callback:

  • No callback parameters exist.

Parameters for a failure callback:

  • [string]msg: the error message.

var params = {
  phone: '1320000000',
};

window.WindVane.call('WVCall', 'call', params, function(e) {
}, function(e) {
        alert('failure: ' + JSON.stringify(e));
});