Showing posts with label Crop Image. Show all posts
Showing posts with label Crop Image. Show all posts

Monday, 5 November 2012

ActionBar with Search Option and other options in Android.


This is the example showing how to start with ActionBar in android.

1. <a href="http://www.coderzheaven.com/2012/01/28/android-removes-the-need-of-menu-button-from-devices-with-actionbar/" title="ActionBar" target="_blank">Android removes the need of Menu button from devices with ActionBar.</a>

2. <a href="http://www.coderzheaven.com/2012/08/23/start-actionbar-android/" title="ActionBar" target="_blank">How to start with ActionBar in Android?</a>

3. <a href="http://www.coderzheaven.com/2012/09/28/dynamically-adding-removing-toggling-removing-actionbar-tabs-android-part-2/" title="ActionBar" target="_blank">Dynamically Adding, Removing, Toggling and Removing all ActionBar Tabs in Android – Part 2?</a>
 

Read complete post from here..

http://www.coderzheaven.com/2012/10/20/actionbar-search-option-options-android/

Monday, 4 June 2012

How to read a text file in ANDROID?


Hi all…..


In this post I will show you how to read a text file in ANDOID.
Let your file is in the assets folder of your ANDOID project.
The file is named “myfile.txt”


This example reads the file line by line using readLine() function till the end of the file. Here your need two classes named “InputStreamReader” and “BufferedReader”. For writing into the file you need “OutputStreamReader” class. The result is displayed in a Toast. Make sure you notice it.

Read more from here...

http://www.coderzheaven.com/2012/04/22/how-to-read-a-text-file-in-android-2/

Sunday, 27 May 2012

Crop an Image in ANDROID.

Cropping an image in <a href="http://www.coderzheaven.com/android/" target="_blank">ANDROID</a> programmatically has always been a problem for ANDROID developers.
So Here I am putting a sample code to demonstrate this.
For cropping an <a href="http://www.coderzheaven.com/?p=1397" target="_blank">image in ANDROID</a> we need a source bitmap which is our image itself, the other one is the target <a href="http://www.coderzheaven.com/?p=3911" target="_blank">bitmap</a> which we have to
set the size as we want and a matrix.

Read the complete post from here..

http://www.coderzheaven.com/2011/03/15/crop-an-image-in-android/