Capture Picture from Camera and Save in Media Library in Windows Phone

In this post we will see the way to capture a photo using camera and saving that in Media Library. CameraCaptureTask chooser is used to capture photo using Windows Phone Camera. To work with CameraCaptureTask , first you need add namespace Then define a global variable, In constructor of the page, you need to instantiate … Continue reading Capture Picture from Camera and Save in Media Library in Windows Phone

Code to Share Status or Links on Social Media sites in Windows Phone

While creating application for Windows Phone you may come across requirement to share certain message from your application on social media sites configured on user device. You can do it using ShareStaus Task. ShareStausTask class is defined as below. It is inherited from ShareTaskBase class.   ShareStatus Task Launcher allows an application to launch a … Continue reading Code to Share Status or Links on Social Media sites in Windows Phone

How to Use the ConnectionSettings Task for Windows Phone

ConnectionSettings Task allows user to set and adjust device network settings. ConnectionSettings task is defined in Microsoft.Phone.Tasks namespace as below, User can set device network setting to any of the following If you want to set Network connection setting to WiFi, you can set it as below, If you want to set Network connection setting … Continue reading How to Use the ConnectionSettings Task for Windows Phone

Block Diagram on Windows Phone 7 Application Life Cycle Events

Below block diagram depicts the way various events get executed in Windows Phone 7 application lifecycle. Different events are as below. All events are written in App.Xaml.Cs Application Launching Application Activated Application Deactivated Application Closing As a developer it is must to have understanding of sequence of events get executed in Windows Phone 7 application … Continue reading Block Diagram on Windows Phone 7 Application Life Cycle Events

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

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