Tag: windows phone 7 application
-
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…
-
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…
-
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…
-
Data from Cloud on Windows Phone
“Data from cloud on the phone “, it may appear as a buzzing sentence to you. In this post, I try to minimize complexity of accessing data from cloud to be specific from SQL Azure in Windows Phone. In this post I will walkthrough step by step accessing data from SQL Azure in 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…
-
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…
-
Code to make call in Windows Phone 7
Launchers are used to perform task provided by phone operating system. Making Call is feature of Windows phone operating system and can be used by Launcher API. PhoneCallTask launcher is used to call. This launcher class is defined as below, To work with PhoneCallTask, first you need to add namespace of Microsoft.Phone.Task Then create…