Tag: windows phone 7
-
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…
-
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 you…
-
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 on…
-
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 either…
-
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…
-
Creating Alarm and Reminder in Windows Phone
In this post we will see the way to create Alarm and Reminder in Windows Phone. Creating Alarm Alarm can be created using the Alarm class. Alarm class is part of Microsoft.Phone.Scheduler namespace. Alarm class takes name of the alarm as the input parameter of the constructor. Name of the alarm must be unique within…
-
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.…
-
Windows Azure Storage Client Library for Windows Phone: Part 1
Windows Azure Storage Client Library allows you to perform operations on Windows Azure storage from Windows Phone. Using Windows Azure Storage Client, you can Perform operations on Table Perform operations on Queue Perform Operations on BLOB If you are not using Windows Azure Storage Client Library then to work with Windows Azure Storage you may…