What is the best way to detect when an Android \"Application\" has been launched from the Home screen/History screen?
Basically, what I\'m trying to achieve is force
What about
if((getIntent().getFlags() & Intent.FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY )!=0) { Log.d(TAG, "Called from history"); }
? This uses a simple Intent flag.