2nd Activity doesn't call after calling from 1st Activity
<pre><code>if(dialog.getProgress()==dialog.getMax())
 {    
      Intent i = new Intent(this, ShowMyDialog.class);
         startActivity(i);
 }  
</code></pre>

<p>I have written this code in my 1st activity.but 2nd activity not get called after progress bar value reached to max.
so,please help me......how can i solve this. </p>
