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.
 
 
 
 
 
 
Esun Kim 5c0f349761 [Build] Bump the required CMake version to 3.13 (#35572) 12 months ago
..
app [Build] Bump the required CMake version to 3.13 (#35572) 12 months ago
gradle/wrapper Update all Debian:9 to Debian:10 (#31917) 2 years ago
.gitignore gRPC C++ Interop App 7 years ago
README.md Pointing the protobuf submodule to the new URL (#26811) 3 years ago
build.gradle Update all Debian:9 to Debian:10 (#31917) 2 years ago
gradle.properties gRPC C++ Interop App 7 years ago
gradlew gRPC C++ Interop App 7 years ago
gradlew.bat gRPC C++ Interop App 7 years ago
settings.gradle gRPC C++ Interop App 7 years ago

README.md

gRPC on Android

Note: Building the protobuf dependency for Android requires https://github.com/protocolbuffers/protobuf/pull/3878. This fix will be in the next protobuf release, but until then must be manually patched in to third_party/protobuf to build gRPC for Android.

PREREQUISITES

  • Android SDK
  • Android NDK
  • protoc and grpc_cpp_plugin binaries on the host system

INSTALL

The example application can be built via Android Studio or on the command line using gradle:

$ ./gradlew installDebug

INSTRUMENTATION TESTS

The instrumentation tests can be run via the following gradle command. This requires an emulator already running on your computer.

$ ./gradlew connectedAndroidTest \
  -Pandroid.testInstrumentationRunnerArguments.server_host=grpc-test.sandbox.googleapis.com \
  -Pandroid.testInstrumentationRunnerArguments.server_port=443 \
  -Pandroid.testInstrumentationRunnerArguments.use_tls=true