Windows 8 Metro – Code Behind

Tuesday, October 9, 2012

When I develop Windows 8 Metro App I usually use Windows Store app samples to see code examples features but sometimes you want more… For example I really want to know how “Mail” metro app works: How getting access to other email account, sending email and more. So in order to to that I had to gain access to “Mail” metro app… Let’s start the Hack: Problem: WindowsApps folder is blocked and by default you can’t open this folder. Solution: First open Windows Explorer and navigate into “C:\Program Files\”, locate “WindowsApps” folder....

Using Live SDK in Windows 8 – JavaScript

Sunday, September 30, 2012

Tweet In my previous post I talked about Using Live SDK in Windows 8 – C#, now it’s time to see how you can do the same things using JS. Live SDK provides a set of controls and APIs that enable applications to integrate single sign-on (SSO) with Microsoft accounts and access information from SkyDrive, Hotmail, and Windows Live Messenger on Windows Phone and Windows 8. Live SDK support several platforms such as: iOS, Android and of course Windows Phone and Windows 8 applications using C# and JS. In this demo I’ll show how to use Live...

Using Live SDK in Windows 8 – C#

Thursday, September 27, 2012

Tweet Live SDK provides a set of controls and APIs that enable applications to integrate single sign-on (SSO) with Microsoft accounts and access information from SkyDrive, Hotmail, and Windows Live Messenger on Windows Phone and Windows 8. Live SDK support several platforms such as: iOS, Android and of course Windows Phone and Windows 8 applications using C# and JS. In this demo I’ll show how to use Live SDK with Windows 8, so in order to follow this article you need to have the following installed: Windows 8 – Download Live...

Windows 8 RTM JavaScript – FlipView Control

Sunday, September 23, 2012

Tweet Windows 8 Metro App has couple of wonderful ways to display data, the more common way is Grid and Split Application Template. (You can read more about Windows 8 Project Templates - Windows 8 JavaScript Metro Application–Getting Started). But there are several other ways to display information, in this post I’ll demonstrate a FlipView control, that represents an items control that displays one item at a time, and which enables "flip" behavior for traversing its collection of items. The items on this FlipView control will come from my Blog Rss using SyndicationClient. We’ll create a FlipView control...

Windows 8 RTM JavaScript–Change Lock Screen Image

Tweet In the past couple of months I’ve worked a lot with Windows 8 JavaScript and C#, I’ve also wrote plenty of posts on that subject and there is much more stuff to talk about. In this post I’ll show two things: Using File Picker using JavaScript Change Windows 8 Lock Screen Image Programmatically Download Demo Project Step 1: Create Blank JavaScript Project In the app.onactivated function we add the following code to listen the Choose Picture button and calling the displayCurrentImg function. ...

Windows 8 RTM C# – Capture Media

Tweet I left JavaScript and started to work on Windows 8 Metro using C# and XAML, in this post I’ll demonstrate how to use WinRT for Camera, File Picker and Audio Recording. Download Demo Project Step 1: Create Blank Metro Project and Initialize MediaCapture Taking pictures using Camera or File Picker is pretty easy using WinRT, we going to use the MediaCapture class for Audio Recording, CameraCaptureUI for taking Picture from the built in Camera and FileOpenPicker for choosing pictures from local directories. The MediaCapture class will allow us to capture: ...

How To: Bing Maps Custom Tile Overlay – Google Maps

Sunday, June 24, 2012

Tweet I got a question from a friend who wanted to replace Bing Maps Tiles with Google Maps Tiles. You might ask yourself why? If you want Google Tiles just replace Bing Control and work with Google Maps…..  In this case I want to work with Bing Map Control because the benefits I get in Metro Applications in Windows 8 for C#, C++, VB.NET and JavaScript.  And I also want Google Maps language support. Download Demo Project Currently Bing Maps doesn't support any language except English, and I want to display the map with...

How To: Bing Maps For Windows 8 Metro Apps – JavaScript

Friday, June 22, 2012

In my last post I talked about Bing Map for C#, but you can also do the same of JavaScript projects using Bing Maps SDK. Download Demo Project Step 1: Maps Developer Account Before you can use Bing Sdk from Windows 8 Metro App you need Maps Developer Account, open http://www.bingmapsportal.com/, create or enter with existing Windows Live account. Choose “Create or view keys” and create new Key for your application. Step 2: Create Bing Maps Metro Application Download the latest bits - Bing Maps SDK for...

How To: Bing Maps For Windows 8 Metro Apps – C#

Sunday, June 17, 2012

Tweet Bing Maps SDK is available for Visual Studio 2012 RC and Windows 8 release preview, Bing Maps SDK is easy fast and cool control that you can use in your Metro App. Download Demo Project Step 1: Maps Developer Account Before you can use Bing Sdk from Windows 8 Metro App you need Maps Developer Account, open http://www.bingmapsportal.com/, create or enter with existing Windows Live account. Choose “Create or view keys” and create new Key for your application. Copy and save that key, create a resource in App.xaml called “BingCredentials” with...

Upgrade Metro App From Beta To RC

Sunday, June 3, 2012

In my previous post Convert VS 11 Beta Metro Projects To VS 2012 RC I talked about upgrading the Project file from Beta to RC, in this post I’ll try to talk about all changes made from Beta to RC. I don’t know all the breaking changes in JavaScript and C# but I collect all the breaking changes from the application and games I develop and I’ll show them here. JavaScript + HTML Type ...