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 instantiateContinueContinue reading “Capture Picture from Camera and Save in Media Library in Windows Phone”
Tag Archives: windows phone 7 application
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 aContinueContinue 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 settingContinueContinue reading “How to Use the ConnectionSettings Task for Windows Phone”
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.ContinueContinue reading “Data from Cloud on 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 applicationContinueContinue reading “Block Diagram on Windows Phone 7 Application Life Cycle Events”
Video on How to work with ApplicationBar in Windows Phone 7
If you find my posts useful you may like to follow me on twitter http://twitter.com/debug_mode or may like Facebook page of my blog http://www.facebook.com/DebugMode.Net If you want to see post on a particular topic please do write on FB page or tweet me about that, I would love to help you.
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 gotContinueContinue 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 800×460 from the popup Make visible popup till start page of the application is not ready Create User Control Very first you need toContinueContinue reading “How to create Splash Screen with Progress Bar in Windows Phone 7”
Code to disable hardware Back Button in Windows Phone 7
You can come across requirement when you need to disable hardware back button in Windows Phone 7. If you want to disable hardware back button on Page1 then you need to override OnBackKeyPress method on Page1. To disable you need to make CancelEventArgs value to cancel as given below, If you want you can displayContinueContinue reading “Code to disable hardware Back Button in Windows Phone 7”
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 createContinueContinue reading “Code to make call in Windows Phone 7”