Windows 8 Consumer Preview and Visual Studio 11 Beta – Quick tip: using location services (Part 8/11)

Wednesday, February 29, 2012

In this short post I will show how to use location services in you app. Working with location services requires declaring Location capability in application manifest: The location services provides access to location functionality, such as cell triangulations, WiFi (through IP address), and GPS. Also great many modern devices supports resolving location in some way from mentioned before, application must handle the case where location services cannot resolve the location or user has disabled location services from the Control Panel. The location service accessed through Windows.Devices.Geolocation namespace. Geolocator class responsible for resolving the location and...
no comments

Windows 8 Consumer Preview and Visual Studio 11 Beta – Licensing and In-app purchases (Part 7/11)

Windows 8 Metro applications are distributed by Windows Store. The store handles all installation tasks, updating to the new versions when published by developer. Also it handles purchasing the application, supporting trial mode (if application developer chooses to support it) and handles in-app purchases. All licensing supported by Windows.ApplicationModel.Store namespace. Note: CurrentApp provides license information for the current app.This object obtains its data from the Windows Store, which is not currently (Consumer Preview timeframe) supported. For development purposes we will use CurrentAppSimulator class, which completely mimics APIs of CurrentApp class but enables developing licensing...

Windows 8 Consumer Preview and Visual Studio 11 Beta – Quick tip: using sensors (Part 6/11)

Windows 8 supports multiple sensors. Some of them could be installed on your device, some of them not. When I planned this series, I had pretty hard choice to make about the sensor – which one to use. Accelerometer/Gyrometer/Compass/Inclinometer/Orientation are cool sensors, but their usage pretty tightly bound to specific scenarios like games (Accelerometer/Gyrometer/Inclinometer), some location aware applications (Compass) or at least orientation-aware apps (Orientation). I had to make a choice either create simple “show-the-values” boring sample or game which using those sensors (at least some of them) or showcase go with non-standard approach presenting LightSensor which...

Windows 8 Consumer Preview and Visual Studio 11 Beta – Local and Roaming application data storage (Part 5/11)

In previous post (Settings – LINK) I explained how to create application’s settings screed and customize it with application specific UI and data. In this post I will explain how to preserve application settings and other application data. Wind8 CP enables few locations to store application data. Application can use temporary directory to save any kind of information which was possible also before Windows 8. In addition WinRT provides native support saving data in application’s data store as collection of Key Value Pairs. This data can be stored locally or using roaming store. Roaming store will be synchronized...

Windows 8 Consumer Preview and Visual dStudio 11 Beta – Customizing Settings Charm (Part 4/11)

Before Windows 8 every application invented its own way to present application settings. Here are very few of them: Some apps even provided standalone applications to manage settings. Also from settings storage perspective every developer had to decide when, where and how those settings are saved and in some cases synchronized between different user’s machines. With Windows 8 Metro applications most of those questions and hard choices are gone. Every Metro application can use system-wide standard way to present settings and collect them in predictable and system-standard way. Windows 8 provides “Settings” charm...

Windows 8 Consumer Preview and Visual Studio 11 Beta – Data Sharing (Part 3/11)

Windows 8 enables data exchange between applications. This was possible in the past, but to make it happen two applications must have knowledge about each other which was always not possible especially for applications developed by different companies. Windows 8 enables easy data sharing between the application by introducing OS-level sharing mechanism. Metro applications can publish information from certain types (“Share Source” applications) from one hand, operation system is responsible of selecting applications which expressed “interest” in some specific type of info and those applications (“Share Target”) are responsible of processing data received upon activation. In this post I will...

Windows 8 Consumer Preview and Visual Studio 11 Beta – Working with Proximity Device (Part 2/11)

This post is about proximity devices and scenarios enabled by using this functionality. WinRT supports Near Field Communication (NFC) scenarios by providing native support using Windows.Networking.Proximity namespace. This namespace enable working with proximity device in two different modes – direct communication using sockets (ProximityStreamSocket class) and publish/subscribe mode (using ProximityMessage class). ProximityDevice class provides gateway to hardware NFC device component (if present in computer/tablet, drivers are installed and user permits using such type of devices). To use Proximity device it must be manifested in Capabilities section of application manifest: In both cases first...

Windows 8 Consumer Preview and Visual Studio 11 Beta – What’s New (Part 1/11)

Long awaited Windows 8 Consumer Preview (Win8 CP) just released! It is not come alone, but accompanied with Visual Studio 11 Beta (VS11)! Both products available for download. The links are: Win8 CP download is available here. Visual Studio 11 Express Beta for Windows 8 download available here. So what’s new for developers? First think you will meet right after installing VS11 is facelift. Compare – VS2010 & VS11: VS11 got Metro-ish face lift! The icons are flat and grey, windows got flat look and feel...

Sela Developer Practice–December 2011

Monday, October 31, 2011

Announcing – Sela Developer Practice conference (third time) will take time at Crown Plaza hotel (Tel Aviv, Israel) and the SELA headquarters (Bnei-Brak, Israel) on December 4-8, 2011. This year the conference will focus mostly on Windows 8 and other hot announcements made during //BUILD conference earlier this year at Anaheim, CA. During Sela Developer Practice (SDP) this year, Sela experts and special guests from Microsoft Israel (Guy Burstein and Maor David-Pur) will talk about new features in Windows 8, Visual Studio 2011, .NET Framework v4.5 and other hot technology topics. First conference day...
no comments

Windows 8 To Go

Friday, September 16, 2011

Today was most interesting day so far at //BUILD Windows conference. I’ve attended few interesting sessions, but one of them was absolutely amazing. The session focused on Windows 8 To Go – a way create fully working bootable copy of Windows 8 which can be used to boot any PC (and not only PC – I’ve tried it on my brand new Windows 8 Tablet) and have fully working environment. This opens new horizons to companies, independent software developers, consultants and instructors (like myself) to have fully configured and working environment in pocket always ready to go. This option...
5 comments