Category: Windows Phone 7 / 8 – Mango

Silverlight Framework for Windows Phone 8

New Windows Phone 8



(I have downloaded the above image from, if anybody has issue with it please mail me to

Hello again people. Lets discuss how Silverlight helps us in development in the Windows Phone apps.

Basically I will tell you what exactly is Silverlight and for what is it used for.

  1. Silverlight is cross browser, cross platform implementation of .Net framework that helps in the developing and designing of the applications.
  2. Silverlight helps in designing rich user interface and Rich Interactive Applications(RIA) for web, desktops and now for Windows Phone too.
  3. Silverlight uses Application Extensible Markup Language (XAML) for ease of UI development. It helps in designing of UI controls like buttons, controls, layout, graphics  while using managed code or dynamic languages for application logic.
  4. WPF and XAML. Silverlight includes a subset of the Windows Presentation Foundation (WPF) technology, which greatly extends the elements in the browser for creating UI. Silverlight lets you create immersive graphics, animation, media, and other rich client features, extending browser-based UI beyond what is available with HTML alone. XAML provides a declarative markup syntax for creating elements. For more information, see Layout, Input, and PrintingGraphics, Animation, and Media, and Controls.
  5. The Windows Phone OS is the one which is mainly designed for the touch firs wet citizen interactive with the user. So as a developer you need to really take good care of the UI designs.
  6. For the integration on this UI designs we make extensive use of Silverlight.

This is why we make use of Silverlight in Windows Phone platform.

As we proceed in that I will show you how we use Silverlight or make use of Silverlight in the Windows Phone application.

Take care and have good health :)

Installing Windows Phone Developer Tools

New Windows Phone

(I have downloaded the above image from, if anybody has issue with it please mail me to

Hello people, today I will be telling you what tools you need for the Windows Phone development and what tools you need to install.

  1. First and foremost you need to get acquainted with the Visual Studios 2012 and get a closer look at it before you start developing any apps on Windows Phone.
  2. First tool you need to install is a Windows 8/ Pro OS on your machine.
  3. As you go ahead please make sure that you have a machine with Hyper V capability as Windows Phone 8 Emulator runs on the virtual machine as Hyper V.
  4. Going ahead you also install Visual Studio 2012 on your machine. You can find the Visual Studio 2012 setup here.
  5. After the installation of Visual Studios 2012 we need to take it ahead to Windows Phone environment. Also you will need to install the Windows Phone SDK, you will find it here .
  6. Generally the SDK will self configure with the system you are using, but there can be issues regarding this.
  7. The issues can be as follows, make sure that you sort them out manually.
    1. You will have to enable the Hyper V option which is present in BIOS so that it can be used by the emulator. Also make sure that you are in local Hyper-V Administrators group.
    2. Make sure that you have DirectX 11.0 and Driver Model WDDM 1.2 . You can check them by going in DxDiag.
  8. Generally these are some of the issues that may occur and you can overcome them by the description given above.

Yes guys I guess this is the thing that you will need to meet and requirements that you need to fulfill to start with the development in Windows Phone.

If you have any queries and any question please make sure that you ask me … I am always ready to help you …

Have a nice day and keep good health :)

Application Platform Overview for Windows Phone 8

New Windows Phone 8 ...

(I have downloaded the above image from, if anybody has issue with it please mail me to

Hello guys I hope you have been enjoying your life. Now lets get down to some serious business 😉 just kidding….

There is no serious in Windows Phone. Everything goes fluently and smoothly around. 🙂

Lets start with the Windows Phone application life cycle :

Now basically in the application life cycle there are 9 steps that we need to be considered or rather we can call them as events that we need to put some light on.

  1. Launch Event
  2. Running
  3. OnNavigatedFrom Method
  4. Deactivated Event
  5. Dormant
  6. Tombstoned
  7. Activated Event
  8. The OnNavigatedTo Method
  9. The Closing Event

Now before I explain any further let me show you some life cycle diagram that I have taken from Microsoft site.

Application Life Cycle

(I have downloaded the above image from Microsoft Site, if anybody has issue with it please mail me to

As you can see all the stages that I have mentioned above are in the diagram too. Let me tell you one thing, if you know how the application flows from start till end you will be able to understand all the Windows Phone very easily and quickly.

Lets go through each stage one by one and lets get it explained:

The Launch Event:  Now as the name suggests this event launches the new instance (instance means running the application from the start, that is having a fresh start of the app) of the application. The application can be launched by selecting from the list of application or if you have a tile of the app on the home screen or from a notification that appears on the screen, which will directly take you to the app home screen. As I have mentioned that the app should look fresh and new. There should not be any reference from the previously run of the app.When you run the app the Launch event gets raised. As the launching of the app is totally dependent on this event, and as we are here to give the perfect User experience, definitely we will not be doing any heave coding here that is in the handler of this event. Whatever you want to have the heavy loading that should be done in a background thread.

Running: Well as the name says, this event is called when the app launches. Until and unless the user moves ahead or goes behind this event keeps running.Windows Phone apps shouldn’t provide a mechanism for the user to quit or exit. There is another scenario where the running stage stops, that is when the phones lock screen has been engaged. Although this can also be skipped if you have handled the application ideal detection, now in short I will try and explain the application ideal detection, this has been introduced so that the power consumption of the app can be controlled and we can make the app most power efficient. For more details follow this.

The OnNavigatedFrom: Now this method is called whenever the user navigated from a page to nay other page. This may happen in the app or outside the app, that is within your app or when the user navigates away from the app. The important point here is you should store the information or you should save the page state as when the user returns to the app again and the page is no longer in the memory. In this there is one more property called as NavigationMode property which will determine weather you page is a backward navigation or not, if it is then you should not save the state as the next visit it will recreate itself.

The Deactivated Event: This event is called when the user moves forward from the application, and this can be done either by pressing the start button on the phone or by opening another application. This event is also called when you have  a chooser in place where, to get more information about it press here. Also is called if the device lock screen is enabled, unless application idle detection is disabled. Ideally speaking you should save all the data in the handler of this event so when ever you return, the data is not lost. The app is provided with the State object. It is a dictionary where you can store the app state information.

Dormant: After the deactivated state the operating system will try and put the app in the dormant state. Now the beauty of this state is that, the application processing and the threads will be stopped, that is there will be no processing done for the app but still the app remains intact in the memory. The best thing is that of the app is reactivated from this state it does not need to re-establish the state as it is all preserved 🙂 🙂 ….. Isn’t this amazing one !! . But now if the user gets on opening new apps and there is not enough memory to run the app then the operating system will push the dormant state apps in the  Tombstoned state to free the memory.

Tombstoned: Now this state is really interesting one, in this state the app is terminated, its just that the operating system will save the information of the navigation state and the dictionaries that were populated during the deactivated event. The tombstoning information is saved  for five apps. If the user navigates back to the tombstoned application it will take that preserved information to restore state.

The Activated Event: The activated event is called when the app returns from the Dormant or Tombstoned state. You can check that in  IsApplicationInstancePreserved property where you will see if its returning from the Dormant state or Tombstoned state. If its true its Dormant, and false then Tombstoned. Again as stated above that we have to give the best User Experience so we should not do any resource intensive tasks (loading from isolated storage or a network resource) in the activated event as it will consume time for resuming the app. instead have a background thread that will do all when the app resumes.

The OnNavigatedTo Method: This method is called when the user navigates to the page. This includes when the user first launches the app or in between the app pages. This is used to check whether the page is the new instance or the one returned from Dormant or Tombstoned state. If its not a new instance naturally the page state does not need to be restored, but it is a new one then you should use the state dictionary to restore the state of the page UI.

The Closing Event: This event is called when the user navigated backward from the main/home page of the app. This time the app is terminated and no state is saved. In this event handler you should save the persistent data that you will need through out the instances of the app. The operating system gives a limited amount of 10 secs to complete all the navigation page events, as the time exceeds the app terminates.

So guys I guess you understood all the things that I have explained in the above article. Really guys if you have not understood anything out of it, please let me know so that I can help you understand it. Anything at all.

I will keep you posted more and more.

Have a happy life and keep good health … 🙂 🙂 🙂

Windows Phone became soo easy !! :) :)

Windows Phone 8

(I have downloaded the above image from×399.jpeg, if anybody has issue with it please mail me to

Hi Guys I am so sorry that I have not shown up since long time, but as I am here lets get a quick review on what all things are we going to learn and understand !!

Module 1: Windows Phone 8 Overview


• Application Platform Overview for Windows Phone
• Installing Windows Phone Developer Tools
• The Silverlight framework for Windows Phone
• Getting Oriented
• Introduction to Touch
• Sensors and Services
• Application Architecture

Module 2 : Windows Phone 8 Developer Tools


• Installing Windows Phone Emulator 8
• Windows Phone Developer Tools consist of Visual Studio IDE that includes a toolbox containing phone controls
• Phone-based designer skin, and project templates specific for phone application development
• Windows Phone Emulator that you can use to deploy, debug, and test your applications

Module 3: Basic Fundamental Concepts for Windows Phone 8 


  • Introduction Concepts that are fundamental to Windows Phone application development
  • Key fundamental Windows Phone concepts
    • Execution Model for Windows Phone
    • Frame and page navigation for Windows Phone
    • Launchers and Choosers for Windows Phone
    • Isolated Storage for Windows Phone
    • Themes for Windows Phone
    • Hardware specifications for Windows Phone
    • Web and data services for Windows Phone

Module 4 : Class Library Reference Windows Phone 8


  • Provide with the Library References that are present for Windows Phone
  • Purpose of including those references in the application

Module 5 : Getting Started with Windows Phone 8 Development


  • Provides step-by-step information for Developing Windows Phone 7 Applications
  • Learn about the Windows Phone Application Platform
  • Creating the first Windows Phone Application

Module 6 : Design Resources for Windows Phone 8  


  • Design principles that should observed when developing applications for Windows Phone
  • UI Design and Interaction Guide
  • Expression Blend for Windows Phone, design templates, and a visual explanation of the Windows Phone design system
  • Design Template for Windows Phone 8

Module 7 : Testing the application


  • What is testing ?
  • Guidance through testing process of the application
  • Testing of the application

Module 8 : Publishing Application on Windows Marketplace


  • Basics of Windows Phone Marketplace
  • Significance of Marketplace
  • Functions of  Windows Phone Marketplace
  • Guiding through the steps of publishing the application on Windows Phone Marketplace

I will try and cover each module one by one and if possible also will give you the some “Hands On” and “Demos”, lets see how things fall in place.

If you have any queries regarding anything please feel free to comment on or ask. 🙂 I am always there to help 

Will see you guys soon with a major content.

Thanks 🙂

Take care and have safe health.

Before putting down your first Step in development.

Hi People there are some prerequisites before we directly jump into the development of Windows Phone. Following are some prerequisites that will enable you and make it more simple to develop the app on Windows Phone

  1. .Net
  2. C#
  3. Silverlight
  4. OOPS Concepts

Going ahead you will be able to understand and build on the Windows Phone apps :

  1. Getting Started: The app platform, setting up tools and creating the first app.
  2. Developer Tools: The Visual Studio IDE and Windows Phone Emulator.
  3. Design Resources: Application bar icons, UI design principles, Expression Blend, and the design system.
  4. Fundamental Concepts: What you need to know before you begin creating your first application.
  5. Application Features and Common Development Tasks –Tasks that are common for all Windows Phone applications, and not related to specific features.
  6. Marketplace Publishing and getting paid– How to publish your app on App Hub and get paid for your work.


Will keep you posted people … :) :)

Enter into Windows Phone 8

Hi everyone,

I will be uploading a series of blogs where in I will describe how Windows Phone 8 development is easy and new and attractive.

I will be guiding you through some steps which will actually help you to cover up all the Windows Phone 8 basics and help you in development in Windows Phone 8.

We will progressively move from basic steps to the advanced versions of how you can actually develop things on Windows Phone and get the application done and publish it on the Marketplace.


Be with me people, and believe me I am there to help you …