https://github.com/sub6resources/kotlinprotobufsample
A sample Kotlin Android client with gRPC and Protobuf
https://github.com/sub6resources/kotlinprotobufsample
Last synced: 3 months ago
JSON representation
A sample Kotlin Android client with gRPC and Protobuf
- Host: GitHub
- URL: https://github.com/sub6resources/kotlinprotobufsample
- Owner: Sub6Resources
- License: mit
- Created: 2018-02-12T23:51:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T03:44:39.000Z (over 8 years ago)
- Last Synced: 2025-01-28T20:17:41.860Z (over 1 year ago)
- Language: Kotlin
- Size: 134 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ProtobufSample
A sample Kotlin Android client with gRPC and Protobuf!
Before working, you will either need to `make` the protobuf module, or run the project to generate the Java and gRPC protobuf source code.
After that, it's as simple as adding your own `.proto` files to the `proto` module and building your app in your `app` module!
The sample uses the grpc sample java server. To set it up see https://grpc.io/docs/quickstart/android.html
To access a local server from the AVD, use IP 10.0.2.2