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.
 
 
 
 
 
 
Ming-Chuan f58f903a4f
Add helper function for getting endpoint binder in Java (#27598)
3 years ago
..
exampleclient Implement BinderTransport SecurityPolicies that requires no JNI (#27573) 3 years ago
exampleserver Add helper function for getting endpoint binder in Java (#27598) 3 years ago
README.md Rename binder transport example client app (#27344) 3 years ago

README.md

gRPC-core BinderTransport example apps

WIP.

Build Instruction

  1. Install Android SDK and NDK. Currently we only support SDK version 30.0.3 and NDK version 21.4.7075529 . Make sure you get these exact versions otherwise Bazel might complain.

  2. Point environment variables to install locations of SDK and NDK

    export ANDROID_HOME=$HOME/Android/Sdk/
    export ANDROID_NDK_HOME=$HOME/Android/Sdk/ndk/21.4.7075529
    
  3. bazel build //examples/android/binder/java/io/grpc/binder/cpp/exampleclient:app

  4. bazel build //examples/android/binder/java/io/grpc/binder/cpp/exampleserver:app

  5. adb install bazel-bin/examples/android/binder/java/io/grpc/binder/cpp/exampleclient/app.apk

  6. adb install bazel-bin/examples/android/binder/java/io/grpc/binder/cpp/exampleserver/app.apk