Android app crash when progress dialog is on progress and app's orientation changed. why?
<p>I have an application in which a progress dialog is shown. The progress dialog is working properly on any one orientation. But when I change the orientation during the progress dialog is on progress mode, then the app crashes.</p>

<p>So, now how can i fix this problem?</p>

<hr>

<p><strong>Update</strong></p>

<p>Hello,
Thanks for your answer.
Here I have extracted the progress dialog code from the whole project and there is no problem.
You have said to see the Log cat file. But I do not understand the Logcat file.
Actually what type of error message will be on the Logcat file if the Activity.onCreate() function will create any problem?</p>

<p>If you have any senario please help me.</p>

<p>Best Regards,
gsmaker</p>
