intel xdk 方法无效!适用于 xdk 应用程序预览,但在我构建应用程序时不起作用
intel xdk methods not working! works on xdk app preview but not work when I build the app
我正在使用 bootstrap (html5 + cordova) 创建一个简单的按钮。它适用于英特尔的应用程序预览应用程序,但是当我将它安装在我的 Android 上时它无法运行。
- 在 html5 上对其进行了测试,但仍然无法正常工作。
- 我在 intel xdk 中勾选了启动外部应用程序域标记
app.js
function feedback() {
var bodyText = 'write your message here';
intel.xdk.device.sendEmail(bodyText, "amir329@icloud.com", "", true, "", "" );
}
index.html
<button onclick="feedback();">feedback</button>
查看图片
问题已解决。这个人制作了一个可以正常工作的插件。我现在正在使用它.. https://github.com/krisrak/html5-cordova-plugin-sharing
我正在使用 bootstrap (html5 + cordova) 创建一个简单的按钮。它适用于英特尔的应用程序预览应用程序,但是当我将它安装在我的 Android 上时它无法运行。
- 在 html5 上对其进行了测试,但仍然无法正常工作。
- 我在 intel xdk 中勾选了启动外部应用程序域标记
app.js
function feedback() {
var bodyText = 'write your message here';
intel.xdk.device.sendEmail(bodyText, "amir329@icloud.com", "", true, "", "" );
}
index.html
<button onclick="feedback();">feedback</button>
查看图片
问题已解决。这个人制作了一个可以正常工作的插件。我现在正在使用它.. https://github.com/krisrak/html5-cordova-plugin-sharing