Category Archives: Windows Phone

Using a ListBox, Dynamically adding contents to a listbox in Windows Phone

By | June 29, 2013

This post shows how to add string objects to a ListBox Control in Windows Phone. Make sure to choose a C# template for the project. This is the layout . This is the complete Layout Just change the class name in the root of the layout to yours. Now we will look at the code.

Reading webpage contents as a string in Windows Phone 7.

By | April 4, 2013

Hello all…. I am new to Windows Phone 7. So I am starting by posting a simple tutorial Here. In this post I will try to read a webpage contents as a string and show it in a MessageBox. Here is the complete code.

How to find your Google Plus ID

By | May 6, 2013

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: https://plus.google.com/104653270154306099169/posts 4. The long numerical string in the URL is your Google+ ID. Here is CoderzHeaven’s from… Read More »

How to read and write a text file that is stored in your application sandbox in ANDROID?

By | September 7, 2012

Hi all….. In this post I will show you how to read a text file in ANDOID. Let your file is in the your application sandbox of your ANDOID project, i.e the file’s location is /data/data/your_package_name folder. To view this folder -> open File Explorer and expand each folder. For this example to work first… Read More »

Saving Key-Value pair in Windows Phone using IsolatedStorageSettings

By | April 22, 2012

This sample code helps you to save a key and a corresponding value in windows Phone inside your application sandbox with the help of isolatedStorageSettings. PLease check this post before working around this post. How to save a text file in Windows Phone 7 or How to use isolated storage settings in Windows Phone 7?… Read More »

How to save a text file in Windows Phone 7 or How to use isolated storage settings in Windows Phone 7?

By | April 12, 2012

Hello everyone… Here is yet another simple tutorial for windows phone to save and edit a text file. This example uses isolatedStorage to do this. As like other platforms no this file created will be stored in the application sandbox and no other application can access it. Here is the interface I created for saving… Read More »

How to add click handler to a button dynamically in Windows Phone?

By | March 26, 2012

Hello everyone…. This post is a simple example showing how to add eventHandlers to a button dynamically in windows phone or windows mobile. We know programming for windows phone is done in C# or Visual Basic. Here I am going to explain in C#. I assume that you have dragged a button control in your… Read More »

How to create a Custom ListBox in Windows Phone 7?

By | May 6, 2012

For creating Custom ListView First create a new project named “Lists” and the language is “C#” here. Now open the “MainPage.xaml” and copy this code. Now we have to create another xaml for each custom row in the List. For that right click on the project folder in the solution explorer. Please check the screenshot,… Read More »

How to set an image in an Image Control in Windows Phone 7?

By | March 21, 2012

Hello everyone…… 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… Read More »

Page Navigation in Windows Phone

By | March 16, 2012

Hello everyone… This is my first post on windows phone. I have just started windows mobile programming. In this post I will show you how to go from one Page to another in windows. First I am creating a C# project and in the MainPage.xaml Open the phone interface and then drag a button into… Read More »