• Home
Name Date Size #Lines LOC

..--

clientcache/03-May-2024-1,5451,255

helloworld/03-May-2024-626496

routeguide/03-May-2024-1,124880

README.mdD03-May-2024853 3324

README.md

1gRPC Hello World Example (Android Java)
2========================
3
4PREREQUISITES
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
14INSTALL
15-------
16
171. (Only for non-released versions) Install gRPC Java
18```sh
19$ cd ../..
20$ ./gradlew install -PskipCodegen=true
21$ cd examples/android
22```
23
242. Install the app
25```sh
26$ cd helloworld  # or "cd routeguide"
27$ ./gradlew installDebug
28```
29
30Please refer to the
31[tutorial](https://grpc.io/docs/tutorials/basic/android.html) on
32how to use gRPC in Android programs.
33