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

'hasOwnProperty' in javascript -

android - Unable to generate FCM token from dynamically instantiated Firebase -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -