Wrong activity started on pressing home button
I have a problem which took my 2 days but i m unable to solve it... The problem is, i have more than 1 activities in my application.... lets say i have Activity A and B and a receiver C.
B is always started from C. A is always the starter activity (Authentication). Now the problem is when i exit from the application, C still is active and receiving... (i also want it to be like this).... As application is not running and C starts the activity B based on some incoming event, now i press back button and activity B destroys now if i long press HOME button and start the application it starts the activity B but i want that A should be the starting activity...开发者_如何学Go. Any one can help...
plz ask if you dont understand the problem.
regards,
use following link code adjust the activity status
精彩评论