Android: Application restarts sometimes -


I found a strange behavior in my app when I try to get data from the internet with a bad WiFi signal, then my There are some exceptions (IOException, SocketException). All these exceptions are handled in applications in the attempt-block, but the app performance is slow, and the application restarts in a moment. I have some class applications extending from the class, where the exception method is called again after the exceptions.

I did not get an outoffime error in the log, and the line memory of the application of the method was not called.

Is there any idea about this behavior?

I'm not familiar with the application class, but if you call the app. But while adopting the method while handling exceptions, it is considered to restart your application ...? Or am I very excited? Post your code, it will be clear anyway!

Comments