I have implemented a
Calling startActivity() from outside of an Activity context requires the
FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
Or as a last resort,
Edit - i would avoid setting flags as it will interfere with normal flow of event and history stack.