I am developing an application in which login is not mandatory, but in side app there are some events where app asks user to login. I want to resume the process once login is done. For example if user is not logged in and clicks on "like" button, app redirects user to login activity. Now i want after login is done "like" click will also be performed. There are more such type buttons, apart from like. Please help...