Are there any example of a gRPC server in Java on Android, to access Android SDK API via gRPC

Hi,

I’d like to serve some of Android SDK API via a gRPC interface.

It could be accessed directly from an app (could be the same apk running an app and a gRPC server in the background) or from external points. The earlier is preferred.

My use case is using an app in another language, and currently the juggle between NDK + JNI to access the android SDK is very error prone, hard to debug and brittle. A gRPC environment seens saner in this sense: request/response. No low level and weird interoperability mechanism. And the client can just be generated.

Has anyone done that already?

Read more here: Source link