title: Determine if context is a Specific Activity
body: <p>I'm passing the Activity context to a dialog but that dialog is global to other Activities, so its possible that other activities create that dialog too. My question is how can I determine that Activity context is a specific Activity?</p>
  
  <p>I'm passing ActivityContext like this : </p>
  
  <pre><code>private Activity ActivityContext;
  
  public MessageDialog(Activity context,int DialogStyle,int Dialog_Layout,String Msg) 
  {
      super(context,DialogStyle,Dialog_Layout);
      this.ActivityContext = context;
      this.Msg = Msg;
  }
  </code></pre>