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 | February 12, 2016

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 | February 16, 2016

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 in an ImageView.

By | December 30, 2018

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.   Demo   Watch Video Tutorial   Steps : Ask storage permission from the user if the… Read More »