简体   繁体   English

在Windows Phone 7上使用带有外部URL的PhoneGap / Cordova

[英]Using PhoneGap/Cordova on windows phone 7 with external URL

I need my windows 7 Phonegap/Cordova app to load an external page on start and nothing local. 我需要Windows 7 Phonegap / Cordova应用程序才能在启动时加载外部页面,而没有本地页面。

I did find a solution for iOS and android , but i cant really find something solid for windows phone 7. 我确实找到了适用于iOS和android的解决方案,但我真的找不到适用于Windows Phone 7的可靠解决方案。

Any ideas on how i could do that? 关于我该怎么做的任何想法?

Set it via StartPageUri property of CordovaView control (on MainPage.xaml), for example 经由CordovaView控制(上MainPage.xaml中)的StartPageUri属性设置它,例如

<my:CordovaView HorizontalAlignment="Stretch" 
                   StartPageUri = "http://mydomain/mypage.html"
                   Margin="0,0,0,0"  
                   Name="PGView" 
                   VerticalAlignment="Stretch" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM