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”
Author Archives: Dhananjay Kumar
How to write and run a C Program in Visual Studio 2010
Today I was recalling good days of language C and got tempted to play around POINTERS, STRUCTURE, and DATA STRUCTURE etc. I started to write some C code and as soon as I started, the first hurdle came that where to write code? I was running on 64 bit Windows 7 machine with Visual StudioContinueContinue reading “How to write and run a C Program in Visual Studio 2010”
Accessing Pictures from Media Library in Windows Phone
You may come across a requirement to access the entire picture saved in Media Library of Windows Phone. Media Library can be access using MediaLibrary class. To work with MediaLibrary class you need to add reference of Microsoft.Xna.Framework. This class is defined in namespace Microsoft.Xna.Framework.Media namespace. To work with MediaLibrary, you need to make instanceContinueContinue reading “Accessing Pictures from Media Library in Windows Phone”
Windows Phone camp in 6 cities of India from 17th Feb to 29th Feb
Windows Phone camp is coming to your city. Be ready to learn from experts and enhance your Windows Phone application creation skills. City Date Register Trivandrum 29th February Register here Ahmedabad 24th February Register here Indore 22nd February Register here Bangalore 20th February Register here Mumbai 27th February Register here Delhi 17th February Register hereContinueContinue reading “Windows Phone camp in 6 cities of India from 17th Feb to 29th Feb”
Code to send game invite to multiple user in Windows Phone
You can send game invite to multiple users in Windows Phone using GameInviteTask chooser. GameInviteTask chooser is used to send invitation to other users in multi-player game. It provides an invite screen to user where they can configure Email address of other users to send game invitation. Invitation will be sent by GameInviteTask chooser isContinueContinue reading “Code to send game invite to multiple user in Windows Phone”
Launchers related to MarketPlace in Windows Phone
In this post we will discuss three important launchers related to Windows Phone Market Place MarketPlaceHubTask launcher MarketPlaceReviewTask launcher MarketPlaceDetailTask launcher MarketPlaceHubTask launcher This is used to launch Windows Phone Market Place client application. You can launch market place client application along with music content as below, You can set content type of the searchContinueContinue reading “Launchers related to MarketPlace in Windows Phone”
WebBrowserTask and MediaPlayerLauncher in Windows Phone
In this post, we will see WebBrowserTask launcher and MediaPlayer launcher. WebBrowserTask launcher launches web browser application and display specified URL. This is defined as below, You can set target URL either as string or as Uri. User will be asked for the confirmation. You can navigate to a URL as below, On running youContinueContinue reading “WebBrowserTask and MediaPlayerLauncher in Windows Phone”
Code to search location on Bing Map
BingMapTask launcher is used to search a location and mark it on the Bing map. It is defined as below, Search term need to be set as string. If geo coordinate of center is not provided then BingMapTask will search a location on basis of user’s current location. Hospitals can be located and marked onContinueContinue reading “Code to search location on Bing Map”
MarketPlaceSearchTask in Windows Phone
MarketPlaceSearch Task launcher is used to launch Marketplace client application with the searched result set in the criteria. It helps to search to marketplace from the application. MarketPLaceSearchTask is defined as below, You can see in the definition that, you can set MarketplaceContentType and SearchTerms. MarketPlaceContentType is defined as below, So it can take eitherContinueContinue reading “MarketPlaceSearchTask in Windows Phone”
Clipboard API in Windows Phone
In this post we will see Clipboard API support in Windows Phone. Clipboard API support came as part of Windows Phone 7.5 and it was not part of Windows Phone 7. Class is defined in System.Windows namespace as below, You can set text as below, In above snippet txtSource is a text box. You canContinueContinue reading “Clipboard API in Windows Phone”