I think I need to put some code within my onStop
method. It pertains to a service that should be running only when the activity is finished()
but when the user follows some linkify
'd text to the web browser, or when the user presses the homescreen, both call onStop()
but these do not end the activity, I don't want to end the activity when a user follows a link, so I can't put finish()
within onStop()
unless I can detect and differentiate when this happens within onStop()
is there a way I can override Linkify()
so that I can add a flag within it, or maybe make it run startActivityforResult()
so that I can information back in a result?
similarly, is there a way I can set the activity to finish()
when the user presses the home button?
Thanks