我是Windows Phone 8開發新手。我想顯示Toast notifiation
和it is suggested that I need to change in Package.Appxmanifest file。我使用C#作爲語言。我正在使用VS2012 Express for Windows Phone
。 WMAppManifest.xml
和AppManifest.xml
由Visual Studio嚮導創建,但我無法找到Package.Appxmanifest
。爲什麼在Windows Phone Express的Visual Studio 2012中找不到Package.Appxmanifest?
請建議是否有其他方式顯示吐司通知。
代碼以顯示敬酒:
string toast = "This is toast";
ShellToast t = new ShellToast();
t.Title = "Non null";
t.Content = toast;
t.Show();
值得指出的是鏈接的答案是Windows應用商店的應用程序爲Windows 8/RT(而不是Windows Phone 8);有關於發送[Toast for Windows Phone on MSDN]的良好文檔(http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj662938%28v=vs.105%29.aspx#BKMK_Howtosendatoastnotification) –
+1。謝謝。我會通過建議的鏈接。 –
@rockstartprogrammer我編輯了答案,現在我看到你正在嘗試做什麼。您應該編輯問題的標題,因爲它與問題沒有任何關係。 – anderZubi