Showing AlertDialog, called from widget update service

Hi,
I built a widget which has a service that updates every second.
Under some conditions I want it to pop an alertDialog with positive and negative buttons - so far so good.
I created the alertDialog using its Builder and added the properties I wanted. The widget "stopped working" when I add the
.show() line. How come? Maybe because it is being called from a service? I am quiet new in this area so would appreciate a good explanation
with code.

Sign In or Register to comment.