The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Xudong Ma ce3fbd3fd8 Fix breakage due to gRPC java package change: nano -> protobuf.nano 10 years ago
..
app Fix breakage due to gRPC java package change: nano -> protobuf.nano 10 years ago
gradle/wrapper Build the Android tutorial app by gradle 10 years ago
.gitignore Build the Android tutorial app by gradle 10 years ago
README.md Fixes the path for cd command 10 years ago
build.gradle Build the Android tutorial app by gradle 10 years ago
gradlew Build the Android tutorial app by gradle 10 years ago
gradlew.bat Build the Android tutorial app by gradle 10 years ago
settings.gradle Build the Android tutorial app by gradle 10 years ago

README.md

gRPC Hello World Tutorial (Android Java)

BACKGROUND

For this sample, we've already generated the server and client stubs from helloworld.proto.

PREREQUISITES

  • Java gRPC

  • Android Tutorial if you're new to Android development

  • We only have Android gRPC client in this example. Please follow examples in other languages to build and run a gRPC server.

INSTALL

1 Clone the gRPC Java git repo

$ git clone https://github.com/grpc/grpc-java

2 Install gRPC Java, as described in How to Build

$ # from this dir
$ cd grpc-java
$ # follow the instructions in 'How to Build'

3 Prepare the app

  • Clone this git repo
$ git clone https://github.com/grpc/grpc-common

4 Install the app

$ cd grpc-common/java/android
$ ./gradlew installDebug