title: Call a public method in the Activity class from another class?
body: <p>MAIN ACTIVITY</p>
  
  <pre><code>    public class MyActivity() extends Activity
      {
          onCreate()
          {
              MyClass myobj=new MyClass();    
          }
          public void Mymethod()
          {}
      }
  //HELPER CLASS IN A SEPARATE FILE    
      public class MyClass()
      {
          MyClass(Context context)
          {
  
          }
      }
  </code></pre>
  
  <p>I tried to call Mymethod() from an instance of MyClass.
  I would really appreciate any help. Thanks.</p>