Android close previous Activity -


i want start main activity broadcastresiver twice close previous one?

pop.addflags(intent.flag_activity_clear_top | intent.flag_activity_new_task ); 

but doesn't work?

for finishing activity can call finishaffinity() or finish()


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

c# - Populating Gridview inside Listview ItemTemplate On Web User Control from Code Behind -