This is so simple
1. Go to your Google + account (https://plus.google.com/).
2. Click on the Profile icon on the Left.
3. If you look at the URL in the address bar, it should look something like this:
4. The long numerical string in the URL is your Google+ ID. Here is CoderzHeaven’s from the URL above:
Windows Phone 7 with it’s simplicity has become really easy to study and code. In today’s tutorial I will show you how to set an image in an image control in windows phone 7.
Assuming you have place the image control in the xaml file. I will first show you how to set the image source in the xaml file.
<image Name=”imgMyImage” Source=”images/coderzheaven.png” />
Assuming that you have placed an imaged named “coderzheaven.png” inside images folder in the solution explorer.
Now if we want to dynamically set the image in code we do this.
myimage.Source = (ImageSource)new ImageSourceConverter().ConvertFromString(“images/coderzheaven.png”);
Since the result from ConvertFromString is an object we have to cast it to an ImageSource.
You can also set it in the properties window of the image. Click on the image control and in the properties window. do this..
Adding image source in windows phone 7
Please leave your valuable comments on this post.