Best android open-source packages and libraries.

P2P Chat and FileSharing App Using Socket Android

A Peer-to-Peer chat and file sharing application using Socket Programming in Android.
Updated 1 year ago

P2P-Chat-and-FileSharing-App-Using-Socket-Android

A peer to peer chat & File Sharing application using Sockets in Android.

Description

Peer to Peer chat and file sharing application using Socket Programming in Android

Basic Features:

  1. This is a peer to peer chatting and file sharing application, we decided to create both server and client features each side.

  2. In the application, there is an portion Your IP Address where the user can see his/her device's ip address. Basically it is the address the connected router gave to the device.Also there are 3 options which the user have to fill.

  3. Your Port No. requires the port number of user's server where s/he want others to connect. Then Receiver's IP Address requires the ip address of the device of other user with whom the user want to connect. Receiver's Port No. requires the port number of the server of other user.

  4. By clicking the Connect button, user will move to the chat and file sharing portion where the server of user side will start to connect to a client user on the other end and client will send request to connect to the other user's server. If other user also click connect button then both the server and client will be connected to each other by given port number. And then they can start chatting and file sharing.

  5. In the chatting and file sharing section the users can type message and send it by clicking the send button.

  6. By clicking the File chooser Button user can select text files from file manager and send it to other user. The received file is saved in the "P2P-Chat-And-File-Sharing-App" folder in Download folder of Internal storage of phone (For that the must give permission of storage in his/her device" .

  7. There is a Menu button on the top right corner. There are 2 options Change Background by clicking it an alert dialog with 4 background options will appear to select the background by which user can change the background of both user and Save Message by which user can save the conversation with other user. The conversation will be saved in "Saved_Messages" folder in the "P2P-Chat-And-File-Sharing-App" folder in Download folder of Internal storage of phone (For that user must give permission of storage in his/her device".

Extra Features:

  1. The user can send all types of files including images,pdf,docs etc. using this app.
  2. The user can send bangla text messages and emojis also.
  3. Exchanged Images can be viewed on the chat screen
  4. Sent and Receive time is shown
  5. Ip address of the device is displayed
  6. Showed toast in various parts
  7. notification sound in message and file sending and receiving
Tags socket