Tag Archives: URI

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 crop an Image in Android?

By | December 15, 2012

This is a sample program that launches the camera and crop the captured image. Check this link to another crop image example. http://www.coderzheaven.com/2011/03/15/crop-an-image-in-android/ This is the layout xml. activity_main.xml Now this is the Main Java File that implements the crop functionality. Here we are using the “com.android.camera.action.CROP” Intent to crop the Image passing the captured… Read More »

How to add a new contact programmatically in android?

By | June 18, 2012

We all know how to add a new contact to our android devices without programming right. OK that’s a normal man’s use. But what from a programmer’s view. This is the sample java code that helps you to add contact programatically. After running this programs please switch to contacts application on your device to see… Read More »

Select an Image from gallery in ANDROID and show it in an ImageView.

By | April 20, 2012

Hi all In this tutorial I will show you how to get an image from your phone gallery and show it in an imageview. Here we use intents to open up the image gallery and get the image URI. Set the image type as “image” to get only the images. on onActivityResult if the result… Read More »