android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@ec2d125 is not valid; is your activity running?
im use service in background, show notification
android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@ec2d125 is not valid; is your activity running?
im use service in background, show notification
It's kinda hard to help you out because we need more information But as Steven said this usually happens when you are showing the dialog for a context that no longer exists, like "show dialog" after an async operation and during that operation the original activity is destroyed.
Take a look at this Unable to add window — token android.os.BinderProxy is not valid; is your activity running?