Tag Archives: mesothelioma treatment options

How to create a Slide from Left animation while deleting a row from a ListView in Android?

By | September 13, 2012

Hello all…… I have written a lost of posts on Listviews. You can see that by just searching Listviews in my site. Today I will show you how to create a slide out animation while we delete a row from a ListView. So this is the xml that contains the ListView. Let it be in… Read More »

Placing Controls in a Widget in Android and Listening to the events from them.

By | June 10, 2012

Hello everyone.. I have already shown how to create a simple widget and add it to the home screen in my previous posts. If you have missed these posts please check it here. How to create a widget in android? In the next post I showed you how to listen to a widget delete action… Read More »

Phone storage is getting low problem solved OR How to install apps on the SDCARD by default in your android device?

By | August 10, 2012

Often our android phones may get warning that “Phone storage is getting low” because your apps dont have space to be installed on the phone. I too had this problem. Then I found out the answer, after doing this all apps installed will go to the sdcard. First you have to enable USB debugging on… Read More »

How to download a file from a remote site in android? – Another simple example – Method -3

By | September 1, 2012

Hello all ……. I have shown many examples on how to download and upload files in android through this site. These are other methods for downloadign a file in android. 1. How to Download an image in ANDROID programatically? 2. How to download a file to your android device from a remote server with a… Read More »

How to create a scrolling ListView in android?

By | June 4, 2012

ListView is like a tableView in iPhone or iOS . In this example i will show you how to add a String Array in to the ListView and also make the listView Scrollable. First the xml file . Here the line android:scrollbars=”vertical” will make the scrolling vertically Now the java file The screen will be… Read More »

How to read a folder in the assets directory and read files from it in android?

By | June 4, 2012

File reading is important in android. For the put the files in the assets folder. We can able to read foldername filename Contents of the file First we read the name of the folder. “folder_array” contains all the names of the folder Then if the path is set to Then the list of file name… Read More »

ProgressBar in ANDROID…..

By | June 4, 2012

Progress bars are our basic needs when we want to show something for a long time or some progress takes a long time and we want to show it’s progress. Keeping that in mind ANDROID also has built in progress views. There are basically two types of progress views in ANDROID. ProgressDialog.STYLE_SPINNER and ProgressDialog.STYLE_HORIZONTAL Take… Read More »

Custom Toasts in ANDROID.

By | June 4, 2012

First, just show an image inside a toast: This method just displays a text toast: And this method displays a Toast that contains both an image and text: