All Products
Search
Document Center

SuperApp:Calling

Last Updated:Jun 02, 2026

WVCall provides JavaScript APIs for HTML5 apps and Miniapps to open the dial keypad or place a phone call directly.

WVCall.dial

Note

This API requires WindVane Android 1.0.3.4 or later.

Opens the dial keypad with the specified phone number pre-filled.

Input parameters

Parameter

Type

Required

Description

phone

string

Yes

Phone number to dial.

Callback parameters

Success callback:

  • No callback parameters exist.

Failure callback:

Parameter

Type

Description

msg

string

Error message.

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

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

WVCall.call

Note

This API requires WindVane Android 1.0.3.4 or later.

Makes a phone call directly.

Input parameters

Parameter

Type

Required

Description

phone

string

Yes

Phone number to call.

Callback parameters

Success callback:

  • No callback parameters exist.

Failure callback:

Parameter

Type

Description

msg

string

Error message.

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

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