Most of you will probably label this is a very generic question, but still, I feel that I should make it:
What are the best practices while developing an android app so it can handle errors in a way that doesn't Force Close?
I'm asking this because I'm newbie developing android apps and I'm struggling with force closes a lot... I'm guessing that must be a way to design the APP so it can avoid force closes whenever a problem exists (ex:no internet) Right know I'm using try/catch but it doesn't seem a very programmatic and clean way of doing things, is there other options to handle exceptions besides try/catch ?
If you guys could send links to some good documentation or some sample code on this subject I would be very appreciated! tks!