使用 Cordova 时如何为 Windows Phone 上的 WideTile 指定图像?
最佳答案
不幸的是,目前不支持此选项[Wide Live Tile]。我将为 WP8 和 WP7.8 创建功能请求。 LiveTiles插件最有可能的更新版本将登陆以下位置
https://github.com/apache/incubator-cordova-wp8/tree/master/plugins/www/plugins/LiveTiles
更新
可以在此处找到更新的版本
https://github.com/sgrebnov/incubator-cordova-wp8/tree/master/plugins/www/plugins/LiveTiles
使用示例
navigator.plugins.liveTiles.updateAppTile(success, fail, {
title: document.getElementById('title').value,
image: 'Images/appbar.next.rest.png',
count: document.getElementById('count').value,
backTitle: 'Back title',
backContent: 'Back side',
backImage: 'Images/appbar.close.rest.png',
smallImage: 'Images/appbar.save.rest.png',
wideContent: 'This is wide content',
wideImage: 'Images/appbar.stop.rest.png',
wideBackImage: 'Images/appbar.feature.video.rest.png'
});
关于windows-phone-7 - 将 Windows Phone WIde Tiles 与 Cordova 结合使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13556863/