Skip to content

shihabmi7/HellogRPC

Repository files navigation

📱 Android gRPC Sample App (Unary + Streaming)

A simple Android app demonstrating how to use gRPC in Kotlin to call both:

  • Unary method: SayHello
  • Server-streaming method: LotsOfReplies

🔧 Features

  • Connects to public gRPC server grpcb.in
  • Calls SayHello() and receives a single message
  • Calls LotsOfReplies() and receives a streamed response
  • Built with Kotlin, gRPC, and Protocol Buffers
  • Uses coroutines for background calls

🛠 Stack

  • Kotlin (Android)
  • gRPC Java
  • Protobuf
  • Coroutines
  • XML Layout (Button + TextViews)

📦 How to Run

  1. Clone this repo
  2. Open in Android Studio
  3. Sync Gradle & Rebuild
  4. Tap the Call gRPC button to test responses

📬 gRPC Services

  • HelloService/SayHello → Unary
  • HelloService/LotsOfReplies → Server streaming

✍️ Author

Md Shihab Uddin – LinkedIn

About

A android client that use gRPC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages