Sac*_*tte 0 android-intent android-webview android-websettings sencha-touch-2 cordova
我正在开发一个带phonegap + sencha touch2 + android的应用程序.我有一个面板显示包含电子邮件的各种内容,一些文本形式的数字.因为它是一个WebView,当我点击数字,并且默认的MailCompose活动开始,当我点击数字拨号器活动开始.如何禁止这种情况发生.在为WebView加载url或web设置之前,是否有一些我在android端缺少的配置.或者来自Phonegap的东西,因为当我看到log cat它显示以下行 -
DroidGap.startActivityForResult(intent,-1)
mwb*_*oks 11
您应该能够将以下内容添加到<head>
HTML文档中.
<head>
<meta name="format-detection" content="telephone=no" />
<meta name="format-detection" content="email=no" />
</head>
Run Code Online (Sandbox Code Playgroud)
这适用于大多数WebKit浏览器,例如Android,BlackBerry和iOS.
归档时间: |
|
查看次数: |
4619 次 |
最近记录: |