Skip to content Skip to sidebar Skip to footer

Finish Background Activity From Broadcast Receiver

I launch a new activity 'ActivityB' when keypad is locked.(ActivityA has been backgrounded before the keypad is locked). ActivityB times out after 30 secs and supposed to close its

Solution 1:

you may have an intent in activity a which is creating the activity b;

Solution 2:

The issue was fixed after I set the below property in manifest file android:launchMode="singleTop"

Post a Comment for "Finish Background Activity From Broadcast Receiver"