title: how to call non static method from static method in android
body: <p>I am facing a big problem in calling non static method from static method.</p>
  
  <p>This is my code</p>
  
  <pre><code>Class SMS
  {
      public static void First_function()
      {
          SMS sms = new SMS();
          sms.Second_function();
      }
  
      public void Second_function()
      {
          Toast.makeText(getApplicationContext(),"Hello",1).show(); // This i anable to display and cause crash
          CallingCustomBaseAdapters();    //this was the adapter class and i anable to call this also
      }
  </code></pre>
  
  <p>I am able to call Second_function but unable to get Toast and CallCustomBaseAdapter() method, crash occurs.    </p>
  
  <p>What should I do to fix that issue ?</p>