How to check application returning from dormant state in Windows Phone 7

What is Fast Application Switching (FAS)? Imagine application “A” is running and user launches a new application “B”. On pressing hardware back button user can return back to application “A”. If application “A” gets activated without “resuming “ screen then it can be termed as “ Fast Application Switching “ What is dormant state? In … Continue reading How to check application returning from dormant state in Windows Phone 7

How to work with ToggleSwitch in Windows Phone 7

In this post I will discuss Toggle Switch Button. This comes as part of Silverlight toolkit for Windows Phone 7 and you get it from here To work with Toggle Switch, you need to add namespace     You can use ToggleSwitch as below,   You can set Header and Content of the Toggleswitch. If … Continue reading How to work with ToggleSwitch in Windows Phone 7

Calling WCF REST Service with Basic authentication from Windows Phone 7

Today while working I came across a requirement to consume a REST Service. To consume REST Service application had to provide username and password. Initially I thought it should be easier task and I tried consuming REST Service as below, In completed event accessing returned data as below, When I tried running application I got … Continue reading Calling WCF REST Service with Basic authentication from Windows Phone 7

What are Launchers and Choosers in Windows Phone 7

Launcher and Choosers API allows application to interact with Native Applications of Windows Phone 7 Launchers Launchers are collection of classes in Windows Phone 7. They help to interact with inbuilt applications on native application of Windows Phone 7. Launchers used to launch one of the inbuilt or native applications from your application. Launchers do … Continue reading What are Launchers and Choosers in Windows Phone 7

How to create Splash Screen with Progress Bar in Windows Phone 7

Idea behind implementation To create SplashScreen with ProgressBar idea is to put a popup visible till start page is ready. Open user control in popup Cut Splash Screen image with dimension 800x460 from the popup Make visible popup till start page of the application is not ready Create User Control Very first you need to … Continue reading How to create Splash Screen with Progress Bar in Windows Phone 7

How to work with WrapPanel in Windows Phone 7

In this post I will show you the various way of working with WrapPanel in Windows Phone 7 application. I will discuss Basic working of WrapPanel WrapPanel with ScrollBar Using WrapPanel in a ListBox WrapPanel comes as part of Silverlight for Windows Phone Toolkit. You can download it from here . You need to install … Continue reading How to work with WrapPanel in Windows Phone 7

How to navigate to other page from a user control in Windows Phone 7

Let us say, you have a scenario to navigate from user control In code behind of the user control very first put below namespace, Next globally define an event as below, After this you need to create a method to handle page navigation event as below. This function is taking URI to navigate as input … Continue reading How to navigate to other page from a user control in Windows Phone 7