我有一个奇怪的问题。我无法打开预定义号码的拨号盘或应用程序中的邮件意向。Cordova + android:无法打开拨号盘或邮件意图从应用程序
我使用netbeans 8.0.1创建了cordova应用程序。我的科尔多瓦版本是4.0.0。
我按照步骤创建了一个应用程序,并选择了HelloWorld Cordova的模板。我修改了HTML文件的东西如下:
<html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<!--WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323-->
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<title>Hello World</title>
</head>
<body>
<h1><a href="tel:+919685968574" >call</a></h1><br>
<h1><a href="mailto:[email protected]?subject=Hello" >Send Mail</a></h1>
<script type="text/javascript" src="cordova.js"></script>
</body>
</html>
奇怪的是,我在上次尝试,安装科尔多瓦的所有核心插件,但它仍然没有奏效。
请帮我...谢谢...
编辑:我refered这些链接,但它没有帮助:
Call predefined number automatically on Android with PhoneGap
http://rickluna.com/wp/2012/02/making-a-phone-call-from-within-phonegap-in-android-and-ios/
谢谢你.. 它工作得很好,因为我期望。 – Hims 2014-11-03 12:50:59
总是欢迎您,亲爱的.. – 2014-11-03 12:51:21