title: Change getSupportActionBar().setTitle value from another class
body: <p>I have a class that gets actionbarsherlock oncreate and sets default values. How can I change this values from another class ?</p>
  
  <p>sample codes that doesnt work :</p>
  
  <pre><code>public class MyActivity extends SlidingFragmentActivity {
   public static String abs;
  
  @Override
      protected void onCreate(final Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);        
         setContentView(R.layout.activity_main);
  
         abs = "text";
         getSupportActionBar().setTitle(abs);
  }
  }
  </code></pre>
  
  <p>External class:</p>
  
  <pre><code>MyActivity.abs = "new value";
  </code></pre>