java - Find the first activity in the stack -
my application has 3 entry points. user can start launcher, tapping notification icon, or tapping url (configured intent filter). question is; how can know starter activity?
any ideas?
you can set value using shared preferences lets subsequent activities (or application object) know starter activity was.
there may options, depending on how want app behave, starting second activity result code sending activity, question not sufficiently detailed make simplest of recommendations.
Comments
Post a Comment