I want to implement the "toast" notification inside my windows phone application. I'm implementing push message's, but I want them to show always. No matter if the application is running or not. The push notification will handle it when the application is closed, but not when it is running. Also if I create a shelltoast manually it won't show. To make it more difficult I can't use any external dll's. I only want to use code. What would be the best way to do this? I already know about the ToastNotificationRecieved event. I want to know how to implement it so that it will show a "toast" like message without using a framework 

My code is below

PushPlugin.cs(c# code)

```
public void showToastNotification(string options)
    {

        ShellToast toast;
        if (!TryDeserializeOptions(options, out toast))
        {
            this.DispatchCommandResult(new PluginResult(PluginResult.Status.JSON_EXCEPTION));
            return;
        }
        Deployment.Current.Dispatcher.BeginInvoke(toast.Show);

    }

public void PushChannel_ShellToastNotificationReceived(object sender, NotificationEventArgs e)
        {
 var toast = new PushNotification
            {
                Type = "toast"
            };

            foreach (var item in e.Collection)
            {
                toast.JsonContent.Add(item.Key, item.Value);
            }

            this.ExecuteCallback(this.pushOptions.NotificationCallback, JsonConvert.SerializeObject(toast));
        }

```

In javascript 

```
function onNotificationWP8(data) {
    var pushNotification;
    pushNotification = window.plugins.pushNotification;
    pushNotification.showToastNotification(successHandler, errorHandler,
      {
          "Title": data.jsonContent["wp:Text1"], "Content": data.jsonContent["wp:Text2"], "NavigationUri": data.jsonContent["wp:Param"]
      });

}

```