Home | History | Annotate | only in /external/grpc-grpc-java/examples/android
Up to higher level directory
NameDateSize
clientcache/22-Oct-2020
helloworld/22-Oct-2020
README.md22-Oct-2020853
routeguide/22-Oct-2020

README.md

      1 gRPC Hello World Example (Android Java)
      2 ========================
      3 
      4 PREREQUISITES
      5 -------------
      6 - [Java gRPC](https://github.com/grpc/grpc-java)
      7 
      8 - [Android Tutorial](https://developer.android.com/training/basics/firstapp/index.html) if you're new to Android development
      9 
     10 - [gRPC Java Android Quick Start Guide](https://grpc.io/docs/quickstart/android.html)
     11 
     12 - We only have Android gRPC client in this example. Please follow examples in other languages to build and run a gRPC server.
     13 
     14 INSTALL
     15 -------
     16 
     17 1. (Only for non-released versions) Install gRPC Java
     18 ```sh
     19 $ cd ../..
     20 $ ./gradlew install -PskipCodegen=true
     21 $ cd examples/android
     22 ```
     23 
     24 2. Install the app
     25 ```sh
     26 $ cd helloworld  # or "cd routeguide"
     27 $ ./gradlew installDebug
     28 ```
     29 
     30 Please refer to the
     31 [tutorial](https://grpc.io/docs/tutorials/basic/android.html) on
     32 how to use gRPC in Android programs.
     33