android: unusual way to start activity -


in 1 activity need start 1 one condition: if started before must finished , started again. activity show information system state (theme.dialog style) can start services , on. far know when startactivity(intent) onresume() called (if activity started before). know how it?

in 1 activity need start 1 one condition: if started before must finished , started again

there nothing this. closest have combination of flag_activity_clear_task|flag_activity_new_task, has other side effects, such wiping out other activities.

as far know when startactivity(intent) onresume() called (if activity started before).

not default. default, second instance of activity created.


Comments

Popular posts from this blog

mysql - How to insert just year and month into date field? -

mod rewrite - Doing external redirect. .htaccess NS flag not working. How to achieve similar results? -