Skip to content

basimbd/p2pChat

Repository files navigation

p2pChat

This 'p2pChat'app is developed to connect two android platform devices. It works by establishing a Peer-to-Peer connection between the two devices. All the basic features such as exchanging messages, simple text files, saving conversations and changing backgrounds are implemented with some additional features.

Working Principle

Working principle for this app is very simple and straight forward. One device creates a SocketServer with a port address and waits for connection from the other device. The other device then connects to the device by using the specific port address and the ip address. Once the connection is established both the device can send and receive messages and files.

Instructions to use the app

- Open the app in two android devices. Device 'A' and 'B'

- In device 'A' click on 'CREATE SERVER', and in 'B' device click 'CONNECT'

- Give port address and click 'START SERVER' in 'A', it will show the specified port and ip address of device 'A'

- Give the ip address and port number that were showed in device 'A' as inputs in device 'B' and click 'CONNECT'

- Click on 'ENTER CHAT THREAD' from both the devices. But make sure you enter chat thread from 'A' device first. Because device 'A' is creating the server and waiting for connection, so it must be opened before 'B' device can request to connect.

- Chat with your friends and share files as long as you like.

Additional Features

- User can use 'Light' or 'Dark Theme' according to their wish in runtime.

- Different Button and Text Colors are added in different themes.

- Messenger like interface for better user experience.

- Time of sending the message is also showed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages