Saturday, October 1, 2016

Demo App, my StrictMode Code

So I will be posting some tips as I finish my app demos this month. The first tip is to set up some gradle flavors for each api level you are targeting and than code out an effective strict-mode setup :



Nice and simple and it works better than doing a detect all. the only caution is that it does not catch every ANR. For that purpose you really should check out using ANRWatch Dog:

ANRWatchDog


No comments:

Post a Comment

Hi,thank you for participating in the discussion by adding your comments.If this was bugged by the NSA you should have seen a little pop asking to relog back into your account.