1
快速問題(希望)。如何在「Windows Phone 8」-app中更改index.html的位置(www/index.html)?我正在使用PhoneGap 2.4.0。PhoneGap 2.4.0,Windows Phone 8,更改index.html的位置
第一次擺弄了Windows Phone 8應用程序,所以我很抱歉如果答案是顯而易見的:)
快速問題(希望)。如何在「Windows Phone 8」-app中更改index.html的位置(www/index.html)?我正在使用PhoneGap 2.4.0。PhoneGap 2.4.0,Windows Phone 8,更改index.html的位置
第一次擺弄了Windows Phone 8應用程序,所以我很抱歉如果答案是顯而易見的:)
編輯在MainPage.cs的構造的MainPage
public MainPage()
{
InitializeComponent();
this.CordovaView.StartPageUri = new Uri("/www/html/initializeconnection.html", UriKind.Relative);
this.CordovaView.Loaded += CordovaView_Loaded;
}
實際上,你可以添加StartPageUri = 「一些uri」將xaml文件作爲CordovaView屬性 – 2013-02-11 18:12:11