Pages

Thursday 13 September 2012

Integrating your cloud service with the file picker contracts


Integrating your cloud service with the file picker contracts
In the past, users organized, shared, and maintained their documents, photos, videos, and music on the local PC. But the cloud is quickly providing users with much richer ways to access, experience, and manage the files they care about. Windows 8 embraces these new scenarios by allowing you to deeply integrate cloud services directly into your apps to create completely new experiences that were not possible before.

You can see many of these scenarios highlighted in the SkyDrive app which uses the file picker contracts. The file picker contracts are designed to make user’s documents, photos, videos, & music stored in your app available to all other Windows 8 apps. In this post, we use the SkyDrive app (which implements all three of the file picker contracts as introduced in Connecting your apps, files, PCs and devices to the cloud with SkyDrive and Windows 8) to show you:

Read More

Searching in Windows 8 Thorough Charm Bar


Searching in Windows 8 Thorough Charm Bar
Windows 8 Store Applications can take advantage of the shared “Charms” that you see when you swipe in from the right edge of your Windows 8 device (or press Win-C).  The top charm is searching and it provides tremendous functionality at relatively little programming effort.

When you click search Windows 8 assumes you want to search the current application if that application has registered a Search “contract.”  If it has not, Windows 8 will assume you want to search the applications, as shown in the figure (click on the figure for full size).

Read More

Code Snippets for Windows Store Apps


In partnership with the Visual Studio team, we are launching Code Snippets for Windows Store apps, a collection of around 60 IntelliSense Code Snippets for common Windows Store app programming tasks. The snippets are available for Visual Basic, C#, C++, and JavaScript developers.

For example, if you don’t know how to copy a file in JavaScript or C++, just right-click, select Insert Snippet, select the code snippet, and it will automatically add the code to your Windows app as shown in the screenshots below.

Read More

How to market yourself with your windows 8 app quickly


This article was inspired by a prominent Silverlight MVP and evangelist Kunal Chowdhury who wrote a nice little post on how to market your WP app better – http://bit.ly/SDtMd0

So seeing this I couldn’t help to quickly morph his article to fit Windows 8, what becomes obvious as you compare the two is that there are so many things that are just basically easier with Windows Phone, hopefully the Windows 8 API will mature more over the coming months. (will be even more interesting when the WP8 SDK is revealed if they have stayed true to their roots or move to a more Win 8 route # shudder)

Read More

Exporting an image from a DirectX 2D Image in Windows 8 C#/XAML Using SharpDX

I’m working on a Windows 8 app which has a drawing element to it. The original WP7 app in Silverlight was fine because a simple drawing rendered in XAML was captured using WritableBitmap.Render and written to a file stream. This feature is missing from the Windows 8 API, so it’s impossible to write a pure C#/XAML app which can export a user created image. To get round this it’s possible to use DirectX/XAML/C++ to create a XAML UI which can draw DirectX images.

Read More
Web Informer Button