title: How can I display random activity when click button
body: <p>I used following code in main activity</p>
  
  <pre><code>public void button(View v){
  
           //Create an intent to start the new activity.
              // Our intention is to start secondActivity
           Intent intent = new Intent();
           intent.setClass(this,Activity.class);
           startActivity(intent);
          }
  </code></pre>
  
  <p>How can I display random activity when click button?  Please help me!       </p>