Tag Archives: FLAG_ACTIVITY_CLEAR_TOP

Geofencing in Android, A Simple Example.

By | February 12, 2017

What is Geofencing? Geo-fencing is a feature in a software program that uses the global positioning system (GPS) or radio frequency identification (RFID) to define geographical boundaries. A geofence is a virtual barrier. Today we will discuss how we can implement Geofencing in Android with a single location. First You need to provide the permissions… Read More »

How to close All activities in your View Stack in android in one click?

By | May 30, 2012

Hello everyone… Today I will show you how to close all views in android in a single click of a button. Basically if you open a number of activities, each activity is stacked one above the other like a stack if you are not calling finish() on each activity. But there is a way to… Read More »