如何在 Sencha Touch 中制作一个简单的呼叫按钮
我的按钮声明为:
var callButton = {
xtype: "button",
text: 'Call College',
ui: 'custom-btn-confirm',
maxWidth: '360px',
padding: '0 80 0 80',
centered: true,
flex: 1,
scope: this,
style: 'color: #ffffff',
handler: function() {
console.log("Make a Phone Call");
//document.location.href = "tel:00112233"; // This does not work
}
有关的
如何使用 phoneGap 和 Sencha Touch 2 通过 android 拨打设备电话?
http://rickluna.com/wp/2012/02/making-a-phone-call-from-within-phonegap-in-android-and-ios/