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 onContinue reading "Code to Search in Windows Phone 7"
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 usContinue reading "Code to select photo on Windows Phone 7"
Video on How to solve cross domain problem in Silverlight?
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.
Debugging WCF Service from Silverlight: The Breakpoint will not currently be hit at WCF Service error
Assumption Binding configuration at WCF has debugging enabled Cross domain problem has been take care of since WCF and Service is running on different servers. Visual studio is running in administrator credentials or credentials having enough permission to debug on server. While working today I came across a requirement to debug WCF Service from SilverlightContinue reading "Debugging WCF Service from Silverlight: The Breakpoint will not currently be hit at WCF Service error"
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 AccelerometerContinue reading "Reading coordinate values using Accelerometer API in Windows Phone 7"
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 createContinue reading "Code to Send SMS in Windows Phone 7"
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 storageContinue reading "Protecting password or any data in Windows Phone 7 using Data Protection API"
What is Channel in WCF?
In Service oriented architecture there are two parties involved, Server and Client .Server and client communicate to each other via Messages. Message travels over the network. For communication; server and client must be agreed upon Format of message Protocol Transport Encoding of the message etc. Channels are the responsible component of WCF for Creation ofContinue reading "What is Channel in WCF?"
Calling One-Way WCF Service using IOutputChannel
Note: This post is inspired by one of the chapter from book Essential WCF. I tried to put the content in my way. Thanks to the original author. I strongly recommend you to read this post http://winterdom.com/2007/08/ioutputchanneloverirequestchannel One way communication pattern allows client to send message to service and forget. Client doesn’t have to waitContinue reading "Calling One-Way WCF Service using IOutputChannel"
Inserting Null Value for Integer columns in Windows Azure Table
I recommend to read below post before you start reading this post Creating Azure Table using CloudTableClient.CreateTableIfNotExist There may be requirement when you need to insert null values for values type columns in Azure table. In our recent project, we had a requirement to insert null values for integer columns. Usually if you don’t provideContinue reading "Inserting Null Value for Integer columns in Windows Azure Table"