Hi I want to finish previously opened activity on current activity . There is any way to doing this . If possible please suggest me usable link or examples.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try to use Broadcast.
Example:
In your current activity
In your previous activity
You can invoke finish method in the YourBroadcastReceiver’s onReceive method.