tags:

views:

69

answers:

1
A: 

[code] try{ int result = service.add(5, 7);// crashes on this line with no exception tView.setText(result); }catch(DeadObjectException e){ Log.i("DeadObjectException", "found the problem"); }

[/code]

Occam's razor in effect. Sometimes you eat the bar and sometimes the bar eats you.

tView doesn't take int values.

Answer: tView.setText(String.valueOf(result);

Boy do I feel sheepish a week to find that.

b0ng01