Android is a complex system of all sorts of logic and systems which are available to us. This is very nice but it also gives us multiple ways to achieve the same thing and here it gets a little bit complicated. In this post we will look a bit into checking if your application is the currently active one.
This series of posts is all about those small things in Android that you can use and/or abuse for your benefit. Small hidden gems or just simple hacks to overcome some issues. This post is all about the Invisible Activity, the activity without a gui / ui!