Wednesday 4 January 2012

How to Finish Activity from another View in Android?

Write below code after startactivity(intent) for finish the activity from the view/class.

((Activity_Name1) context).finish();

Enjoy :-----)

Don’t forget to provide feedback or follow this blog, if you find this blog is useful.