Hi, I am working on an application which establishes connection to the server, chat application . I have some nested views in the app namely: 1. Login View : Authentication View and the first view that is displayed. 2. Loading View: Progress Dialog 3. LoggedInView: View after logging in
LoggedInView further has the following views: 1. Chat View 2. Call View 3. Message View The Views and its subviews are arranged as nested views under a common view, and I am displaying the views by using setVisibility. The first time I load the app, it gets displayed correctly. And everything is fine. Now, I would discuss the issue I am having with the app: In order to keep the app running and the connection doesnt break, I have overridden the back button so that onDestroy() doesnt gets called. When I launch the app again, the variables remains intact as before. Now if at last time... I was actually in a state other than the first view, login view, when I pressed the back button, the next time I am launching the app and setting the views visibility to visible, a black screen is getting displayed and no error is thrown. I have been working on it, trying to find the reason but no results. Please let me know if you have any solution for the same. Thanking You, Regards, Srikant Aggarwal -- 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

