blob: 3222c1260e4cbbefc8a8c4116b448c544c4f7c97 [file] [log] [blame] [view] [edit]
gRPC Hello World Example (Android Java)
========================
PREREQUISITES
-------------
- [Java gRPC](https://github.com/grpc/grpc-java)
- [Android Tutorial](https://developer.android.com/training/basics/firstapp/index.html) if you're new to Android development
- [gRPC Java Android Quick Start Guide](https://grpc.io/docs/quickstart/android.html)
- We only have Android gRPC client in this example. Please follow examples in other languages to build and run a gRPC server.
INSTALL
-------
1. (Only for non-released versions) Install gRPC Java
```sh
$ cd ../..
$ ./gradlew install -PskipCodegen=true
$ cd examples/android
```
2. Install the app
```sh
$ cd helloworld # or "cd routeguide"
$ ./gradlew installDebug
```
Please refer to the
[tutorial](https://grpc.io/docs/tutorials/basic/android.html) on
how to use gRPC in Android programs.