Select a language to translate this page!
Powered by Microsoft® Translator
This blog post was authored by Andrew Byrne (@AndrewJByrne), a Senior Content Developer on the Windows Phone Developer Content team.
In June we gave you a rundown of the last 10 samples we published on Code Gallery. I am pleased to announce that we’ve uploaded another 4 samples. In today’s post I summarize what each sample demonstrates. You can check out all of our samples on MSDN.
Free App with Paid Products
This sample illustrates how to offer in-app products in your free app. With this model you can ship your app for free but still make money by charging for advanced features, functionality, or virtual goods. The sample uses the Windows.ApplicationModel.Store APIs and shows how to offer a single product, in addition to how to implement a more advanced catalog of products.
Want to check whether your app is running in the emulator or on a low-memory device, or check what sensors are available on the phone? The seven recipes in this sample demonstrate how to use various Windows Phone APIs to discover all this environment information and more. We try something different in this sample. When you run the sample on your phone, you can copy and paste, and even email the recipe code directly from the running sample. Let us know if you find this useful.
Passing Data between Pages
Your Windows Phone apps likely have more than one page, and need to pass data from one page to the next. On the Windows Phone platform you have a variety of ways to accomplish this common task. This sample demonstrates five methods for passing data from one XAML page to another page.
Periodic Background Agents for Tiles and Toasts
This sample demonstrates how to create a periodic task to update a Tile, or to create a periodic task to display a toast notification. This is a great way to reach out to your users and keep them informed about your app, even when your app is not running in the foreground.
We’ll continue to keep you posted on new samples as we add to the collection – currently we offer 85 sample apps on Code Gallery! – so stay tuned. In the meantime, grab the samples, experiment with them, and use the code to light up your apps. You can check out all of our samples on MSDN.
abm - Thanks for the feedback. The "Free App with Paid Products" is very focused on what it takes to enumerate in-app products and make those purchases. Wallet integration was outside the scope of this sample. That said, looking at the blog post you mention, I see the code is available for it at http://aka.ms/walletdemo
I hope that helps.
battlebottle - glad you like the graphic!
It the best way to test!!!
In "Free App with Paid Products" sample, wouldn't it make sense to incorporate wallet? Would be nice if we have the code implementation of this blog post: blogs.msdn.com/.../wallet-amp-in-app-purchase-for-windows-phone-8.aspx.
Signed in to say I love that SDK graphic you have there :).