I am running a service from an activity that sets the alarm manager to evoke at a specific time of the day.
I have other broadcast receiver class, independent of the activity class, that receives the alarm-manager action and displays a toast.That is working fine.

What is want is a method to display a dialog for the same.I know we can't create dialog in a receiver but there must be some method to do the same.
please help me through this.

here is my receiver code:
Code:
public void onReceive(Context context, Intent intent) {
		// TODO Auto-generated method stub
		Bundle gotBasket = intent.getExtras();
		String msg = gotBasket.getString("key");
		Toast.makeText(context, msg , Toast.LENGTH_LONG).show();