简体   繁体   中英

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.

I did find a solution for iOS and android , but i cant really find something solid for windows phone 7.

Any ideas on how i could do that?

Set it via StartPageUri property of CordovaView control (on MainPage.xaml), for example

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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