Utility: Extmap Maker v1.1

Thursday, November 24, 2011

Quite some time ago, I wrote small utility which helped to create external map manifest file for Silverlight assemblies. This manifest is needed to enable XAP reduction feature (you can read more about it here). I have been told, that the utility is not working with assemblies compiled with Silverlight 5, so I decided to update it. The new version compatible with Silverlight 3, 4 & 5 assemblies. Please note, that new version requires .NET 4.0 Client profile in order to work. Updated version can be downloaded from here.   Stay tuned, Alex

Windows Phone 7.1 (Mango) Developer Tools–RC Release!

Tuesday, August 23, 2011

Microsoft just released a new refresh of Windows Phone Mango developer tools (WPDT) – the RC. This release includes “Go Live” license that permits registered developers to publish Mango applications to the Marketplace! What changed/added: The profiler has been improved, and now provide memory profiling as well The emulator has a couple improvements to make development and testing better: The RTM build (build 7720) is used by the emulator, providing you with confidence that the code you write will work on Windows Phone...

Windows Phone Mango–What’s New? (“Profiler” – Part 9 of 8)

Tuesday, May 31, 2011

This post is a “missing part” of series about new features in Windows Phone Mango New and very important feature of Windows Phone “Mango” Developer Tools is the profiler. The profiler enables the developers of Silverlight applications (currently only Silverlight scenarios are supported) to sense important heartbeats of the application and collect information about application behavior at runtime. To measure the performance or the application, navigate to Debug menu option and select Start Windows Phone Performance Analysis: Visual Studio provides the developer with configuration setting screen which enables him to define some profiling settings, like drawing details, depth of stack frames...

Windows Phone Mango–What’s New? (“Push Notifications & Tiles” – Part 8 of 8)

Tuesday, May 24, 2011

Mango introduces some changes in Push Notifications mechanism which enables the developers to create more attractive scenarios. First feature I’ll show in this post is a secondary tiles for application. Before Mango, every application could have only one pinned tile on the main screen which could be updated using Push Notification mechanism (I blogged about it quite some time ago here and here). Mango release enables to have additional tiles which can be pinned and removed from application code! How about having something like this: All the tiles (beside IE9) on main screen are related to sample I’m going to show...

Windows Phone Mango–What’s New? (“Silverlight/XNA Interoperability” – Part 7 of 8)

Windows Phone RTM didn’t allowed to mix Silverlight and XNA content. Mango enables the scenarios where Silverlight content can be rendered along with XNA content. In the sample presented in this post we will build 2-pager Silverlight application with pure Silverlight page (1st page) and mixed 3D XNA & Silverlight page (2nd page). Final application looks like the following: In order to ease on the developers, after installing Mango developer tools, Visual Studio provides us with two templates – one in Silverlight for Windows Phone area and one in XNA Game Studio 4.0 area: and The templates are almost identical. The first one...

Windows Phone Mango–What’s New? (“Fast Application Switch (FAS)” – Part 6 of 8)

The Windows Phone RTM operating system had only one active application and when application were sent to the background the state was serialized and kept in the application’s isolated storage. This process called tombstoning and application in such state called tombstoned. When user return to the tombstoned application, he would have to wait a while as the application deserialized its state and recovered and we as developers had to take care about saving the application’s state and resuming it. With Mango that is no longer the case: there is only one active (foreground) application, but once an application is sent...

Windows Phone Mango–What’s New? (“Background Agents” – Part 5 of 8)

One of most requested and discussed features of Mango release is “multitasking”. In Mango the multitasking term has slightly different meaning than standard (PC) multitasking. Multitasking for Mango phones means ability to execute the code while application in not active and play audio started by the application in a background. This is achieved by Background Agents. In addition to them Mango also introduces APIs to download and upload files while application is in the background and add Reminders and Alarm to grab user attention. This post will show how to use those features. During the post I’ll show how to...

Windows Phone Mango–What’s New? (“Camera” – Part 4 of 8)

All Windows Phone 7 devices equipped with camera. The minimum required camera resolution is 5 Mega pixels. For developers accession camera information enables many scenarios like image recognition, video chatting, augmented reality and others. From the beginning, Windows Phone 7 RTM devices supported camera usage scenario via launchers and choosers. Phone shell API provided the developer with CameraCaptureTask which could be used to take a picture and use it in the application. This scenario based on phone’s operation system camera interface and not covered in this post. In this post I’ll cover live camera input. To use live input from...

Windows Phone Mango–What’s New? (“New Sensors & Tooling Enhancements” – Part 3 of 8)

Windows Phone devices are modern devices. As such, they usually have few sensors such as built-in accelerometer, A-GPS, light sensor, magnetometer, etc. Windows Phone minimum hardware spec requires that all Windows Phone will have at least 4 of them – A-GPS, Accelerometer, Compass and Light sensors. While accelerometer and A-GPS were available for developers with first version of Windows Phone, there are some new sensors which were added with Mango. The hardware market is not standing still, thus we could see much advanced sensors coming out on the modern phone models. Some of those sensors (like gyro for example)...

Windows Phone Mango–What’s New? (“Local Data” – Part 2 of 8)

Mango provides API to use user’s Contacts and Appointments. To search for appointments and contacts we need to use the Appointments and Contacts classes located under Microsoft.Phone.UserData namespace. In this post I’ll show how to create the sample application which will present the list of contacts and will enable user searching for specific contact. Also we will add appointments search functionality: When page initialized we creating the new instance of the Contacts class:contacts = new Contacts(); contacts.SearchCompleted += contacts_SearchCompleted; The contacts class contains information which indicates the accounts used to provide the information. The information provided via Accounts property. It holds a collection...