- Jun 6, 2020
- 11,559
- 4,422
Hi guys,
Is there a way to catch an error for a whole application with a single try and catch?
This is the example codes how to implement try and catch for a whole application, but it didn't work
Sample Try and Catch:
In those code, try and catch only able to catch errors in Main Activity, but if there are errors in SecondActivity, errors won't be catched.
Is there a way to catch an error for a whole application with a single try and catch?
This is the example codes how to implement try and catch for a whole application, but it didn't work
Sample Try and Catch:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
In those code, try and catch only able to catch errors in Main Activity, but if there are errors in SecondActivity, errors won't be catched.
برای دیدن لینک ها باید ثبت نام کنید