grpc-java/examples/android/strictmode
Chengyuan Zhang da100e8e49
build, examples, README.md: Update protobuf gradle plugin version to 0.8.13 (#7355)
Updated protobuf gradle plugin version to 0.8.13. Fixed Android Kokoro's memory issue by forcing to use a new Gradle daemon for building the previous commit.
2020-09-21 10:42:06 -07:00
..
app Start 1.33.0 development cycle 2020-08-26 16:13:21 -07:00
README.md examples/android: add example for grpc running under StrictMode (#5527) 2019-04-04 15:35:45 -07:00
build.gradle build, examples, README.md: Update protobuf gradle plugin version to 0.8.13 (#7355) 2020-09-21 10:42:06 -07:00
demo.png examples/android: add example for grpc running under StrictMode (#5527) 2019-04-04 15:35:45 -07:00
settings.gradle examples/android: add example for grpc running under StrictMode (#5527) 2019-04-04 15:35:45 -07:00

README.md

gRPC Android StrictMode Example

  • This example intends to show the compatibility of gRPC with Android StrictMode.
  • Android SDK version 28 is required for StrictMode.VmPolicy.Builder.penaltyListener used in the example.
  • This example does the same thing as HelloWorld example except popping up a dialog for detected StrictMode policy violation (shown below).

demo img