短信电话,发短信,打电话,获取sim卡信息等
Methods
-
static dial(phone)
-
打电话
Parameters:
Name Type Description phoneString 电话号码
Example
app.phone.dial("10086"); -
static getSimInfo(callback)
-
获取sim卡信息
deviceId, phoneNumber, operatorName,
simCountryIso, simSerialNumber, subscriberId, networkType,
deviceSoftwareVersion, voiceMailAlphaTag, voiceMailNumber等Parameters:
Name Type Description callbackfunction 回调函数,返回json对象
Example
app.getSimInfo(function(res){ app.alert(res); }); -
static sendSMS(phone, message)
-
发短信
Parameters:
Name Type Description phoneString 电话号码
messageString 信息内容
Example
app.phone.sendSMS("10086,10000","你好,我要使用BingoTouch");