Tag Archives: Options

Do we need to call the Garbage Collector manually ( System.gc() ) in Android?

By | September 5, 2017

This is a common question. Eventhough the Android System calls garabage collector at appropriate times, this usually will not be adequate. Because the system calls GC at intervals, most of the time it wont work perfect and causing unnecessary pauses in the application. If these pauses are more than 16ms, then the user will notice… Read More »

ActionBar with Search Option and other options in Android.

By | October 20, 2012

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 »

How to avoid OutOfMemory Exception in android?

By | July 23, 2011

Hello all.. The OutofMemory exception is a common exception in android when you select an image from a gallery or load Big Images in android. There are different methods to solve this problem. Today I will show you one of the method to solve this problem. The method I am going to explain here is… Read More »

How to simulate an incoming call to an emulator OR Send an SMS to an emulator in ANDROID ?

By | April 12, 2011

Hello everyone…… Of course for the above question there are other ways to do it. This is one simple method Start two emulators and call each other, but the problem is it will be time consuming and memory will be consumed. Another method 1. First start your emulator and make sure it’s running. 2. Then… Read More »