Name Date Size #Lines LOC

..--

app/H25-Apr-2025-385327

README.mdH A D25-Apr-2025611 96

build.gradleH A D25-Apr-2025570 2420

demo.pngHD25-Apr-202546.3 KiB

settings.gradleH A D25-Apr-202515 21

README.md

1gRPC Android StrictMode Example
2========================
3
4- This example intends to show the compatibility of gRPC with Android StrictMode.
5- Android SDK version 28 is required for [`StrictMode.VmPolicy.Builder.penaltyListener`](https://developer.android.com/reference/android/os/StrictMode.VmPolicy.Builder.html#penaltyListener(java.util.concurrent.Executor,%20android.os.StrictMode.OnVmViolationListener)) used in the example.
6- This example does the same thing as [HelloWorld example](../helloworld) except popping up a dialog for detected StrictMode policy violation (shown below).
7
8![demo img](./demo.png)
9