Monthly Archives: October 2012

How to pass an arraylist value from one activity to another in android?

This simple example shows how to pass an ArrayList from one activity to another in Android. This is the first activity on which we are sending the arrayList. Now this is the second activity in which we are receiving the passed arrayList. This is the AndroidManifest file. Please check the LogCat for the Output. Download… Read More »

ActionBar with Search Option and other options in Android.

I have already shown some examples with ActionBar. This is the example showing how to start with ActionBar in android. 1. Android removes the need of Menu button from devices with ActionBar. 2. How to start with ActionBar in Android? 3. Dynamically Adding, Removing, Toggling and Removing all ActionBar Tabs in Android – Part 2?… Read More »

Dynamically Adding, Removing, Toggling and Removing all ActionBar Tabs in Android – Part 2?

Hi all.. In today’s post I will show you how to add actionbar tabs dynamically, remove one by one , hide and unhide them, removing all tabs at once etc. This simple java code does that. First create a project and in the MainActivity, paste this. You may be getting many errors, we will be… Read More »