logo

Activities in the system are managed as an activity stack. When a new activity is started, it is placed on the top of the stack and becomes the running activity -- the previous activity always remains below it in the stack, and will not come...

Many times we want to filter the ListView based on what user types and in Android, simple straightforward way to filter the list in Android is as follows: 1) Create Layout XML 2) Create Activity Class It has got...

Google is continuously mesmerizing the mobile phone and tablet market by releasing new and powerful versions of Android every now and then. The next most awaited release is the Android ice-cream sandwich. If one performs a Google search, he will find that android community has...

Lets think, on Android phone if we want to trap end call event. How we can achieve this on Android phone? We can achieve this by using PhoneStateListener and BroadcastReceiver. 1) Create our own BroadCastReceiver and filter it to receive android.intent.action.PHONE_STATE using IntentFilter in AndroidManifest. 2) In BroadCastReceiver's...