On Monday, January 10, 2011 12:52:25 PM UTC+6, dilu wrote: > > ... if due to some reason application is not > able to connect to the service then I want to exit the application > completly so tht he can restart the app again. > > If you think that the "some reason" of not being able to connect to server would be solved if the user restarts your application, then the problem is actually inside your application code.
Please rethink. List the probable reasons of not being able to connect (and double check if those can be really solved by exiting and restarting your app). If this is the case, then do exactly the things that your application would do during exit and restart --- this will solve your problem. Regards Sarwar Erfan -- 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

