Suppose you wanted to include a page in your new shiny Windows 8 Metro app listing your other apps and when a user taps on an app in the list he/she will be immediately transferred into Windows Store to give you more money (or at least boost your rankings). How do you do that?
In Windows Phone that was really easy. There was a MarketplaceDetailTask class just for that. So you would do something like this:
MarketplaceDetailTask mpTask = new MarketplaceDetailTask();
mpTask.ContentIdentifier = marketplaceAppId;
mpTask.Show();
Done!
But there’s nothing like that in WinRT. As it usually happens with advanced APIs simplicity was sacrificed in the name of flexibility. In Windows 8 any app can register (with user’s permission) as a default app to handle some protocol. So Windows Store is no different. It’s a default app to handle “ms-windows-store” protocol.
Read full article here
No comments:
Post a Comment