Hi, In my application, I am running custom progress bar at the time of data fetching(data is getting fetched using async task and progress bar is also getting started in the onpreExecute function of the asyncTask which is getting dismissed by onPostExecute) . If user change the orientation at the time of fetching and onPostExecute get called after orientation change, my application is crashing.
Problem is this that progress bar is not attached to the window manager. I am not sure how to do that. My queries are: 1. How can i attach progress bar with window manager. 2. How to stop async task at the time of orientation change and how to stop webrequest call, if orientation is getting changed. 3. Whats the life cycle of activity at the time of orientation change. I know that it will again call onCreate but will it call onStop and onDestroy for the previous orientation. 4. What are the steps we should take care for the orientation change. Please help. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

