GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - geetgobindsingh/HandlersDemo: This project is a proof of concept that demonstrates a chat communication system between a sender and a receiver using Android's Messenger, Handlers, and Loopers. Both the sender and receiver utilize these concepts in different ways to achieve reactive communication.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
app
app
 
 
gradle/wrapper
gradle/wrapper
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

HandlersDemo

This project is a proof of concept that demonstrates a chat communication system between a sender and a receiver using Android's Messenger, Handlers, and Loopers. Both the sender and receiver utilize these concepts in different ways to achieve reactive communication.

Table of Contents

  • Introduction
  • Features
  • Demonstration
  • Contributing
  • License

Features

  • Two-way chat communication between a sender and a receiver.
  • Sender thread extended from HandlerThread, implementing MessageQueue.IdleHandler.
  • Receiver using a Java thread, implementing Runnable and MessageQueue.IdleHandler.
  • Use of Messengers for sending and receiving messages.
  • Reactive communication where the sender sends a message, and the receiver responds.
  • Handling delays and waiting for the receiver to respond.

Demonstration

Screen_recording_20231026_205800.mp4

🤝🏻 Contribute

Any PRs are very welcome! 😍 You can fix a bug, add a feature, optimize performance and even propose a new cool approach in code-base architecture. Feel free and make a PR! 😌

License

  • This project is licensed under the MIT License.

About

This project is a proof of concept that demonstrates a chat communication system between a sender and a receiver using Android's Messenger, Handlers, and Loopers. Both the sender and receiver utilize these concepts in different ways to achieve reactive communication.

Topics

androidhandlerhandlerthreadloopermessenger

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.