Category: Windows Phone Dev
-
Block diagram for Push Notification in Windows Phone 7
Below is the block diagram to Push Notification in Windows Phone 7. There are three types of Push notification Live Tiles Toast Notification Raw Data Above diagram is very much self-explanative. There are five steps to perform push notification Application open a HTTP channel with Microsoft Push Notification Service Microsoft Push Notification Service returns…
-
Code to Search in Windows Phone 7
In this post I will show you how you could search a particular item on windows phone 7. You can achieve search using launchers. SearchTask class is used to search on Windows Phone 7. Expected Output User will type the word to search and click on Search on Phone button. Then application will search on…
-
Code to select photo on Windows Phone 7
In this post we will see how could we select a photo saved on device and bind it as source of image control on our application. Expected Output To work with photo on device you need to work with Choosers. To work with Choosers you need to add Microsoft.Phone.Tasks namespaces. PhotoChooserTask class allows us…
-
Reading coordinate values using Accelerometer API in Windows Phone 7
In this post we will see how to read different axis values using Accelerometer API. To work with Accelerometer API first you need to add reference of Microsoft.Devices.Sensors Then below namespace, Now to capture X Axis, Y Axis and Z Axis value you need to follow below steps Step 1 Create task object of Accelerometer…
-
Code to Send SMS in Windows Phone 7
Launchers are used to perform task provided by phone operating system. Sending SMS is feature of Windows phone operating system and can be used by Launcher API. SmsCompseTask launcher is used to send SMS. This task class is defined as below, To work with SmsComposeTask, first you need to add namespace of Microsoft.Phone.Task Then create…
-
Protecting password or any data in Windows Phone 7 using Data Protection API
There may be many scenarios, when you need to save data in protected form for your application in isolated storage. Of course you have an option To encrypt the data with some encryption algorithm Save in the isolated storage Problem with above approach is either you will have to store the key in isolated storage…
-
Global Application Bar in Windows Phone 7
In a Windows Phone 7 application, Application Bar is very useful. With as assumption that, you know what is Application Bar? I will discuss with you How Application Bar can be used as static resource? How to make Application Bar as global resource? How to use same Application Bar in multiple pages? Designing Global Application…
-
System Tray ProgressIndicator in Windows Phone 7.5 or Mango phone
Windows Phone 7.5 (Mango) provides a Progress Indicator on System Tray to show progress of async operation. ProgressIndicator is a dependency object and can be data bind to the System Tray. ProgressIndicator class is defined as below, Using ProgressIndicator To use ProgressIndicator, first you need to add the namespace, And then create it as below,…