title: How to automatically call onClick for a Button when application is opened?
body: <pre><code>public void onCreate(Bundle savedInstanceState) { 
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
      Button b1 = (Button) findViewById(R.id.button1);
      b1.setOnClickListener(new OnClickListener() {
  
          @Override
          public void onClick(View v) {
              loadFeed(statutory);
          }
      });
  }
  </code></pre>
  
  <p>I want my app to automatically call <code>onClick</code> for my <code>Button b1</code> when I open my application.</p>
  
  <p>How can I make my app automatically call <code>onClick</code> when the app is opened?  I am looking for a modification to my existing code to accomplish this.</p>