Proper callback error handling (android)