wp7appdevelopment
Adventures in Windows Phone app development
Monthly Archives: April 2013
Silverlight Predefined Colors (Windows Phone/Windows 8)
April 30, 2013
Posted by on Need an easy way to see the predefined colors in for Silverlight running on WIndows Phone or Windows 8 (WinRT)?
http://msdn.microsoft.com/en-us/library/system.windows.media.solidcolorbrush(v=vs.95).aspx
Windows 8 (WinRT): Linking to Apps in the Windows Store
April 29, 2013
Posted by on If you are building a Windows 8 app and want to link directly to your app’s listing in the Windows Store, just append the Package Family Name of your app to the URL:
ms-windows-store:PDP?PFN=
You can find your Package Family Name in Visual Studio Express 2012 for Windows 8 in the Package.appxmanifest
file.
You’ll need to associate your app with the store first. In Visual Studio, use the Store->Associate App with Store command.
Link to Review App in Windows Store
If you want to let the user review your app, append the Package Family Name to this URL:
ms-windows-store:REVIEW?PFN=
For example, you can create a button and create a Click method in the code behind. This example assumes XAML/C#:
In the XAML:
<Button Content="Review App" Click="Review_Click"/>
In the XAML.cs code behind file:
private void Review_Click(object sender, RoutedEventArgs e) { Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:REVIEW?PFN=SquugLLC.PuzzleTiles_dm30yjndj09vg")); }