I am new to Android mobile application development. I would like to know, how can I handle exceptions like HttpConnection related exceptions or any other exceptions? Do I need to display an AlertDialog to the user?

Kindly provide a sample code or project source code on how can I handle HttpConnection or similar type of Exceptions.

Edit
Report