DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Data Transferring Between Android Based Mobile Devices

4 years ago dzone.com
Data Transferring Between Android Based Mobile Devices

Summary: This is a summary of an article originally published by the source. Read the full original article here →

In my previous article, I had shared some concepts of socket programming and gone through how to connect two Android devices using socket communication.

In this part, we will learn how to send data between two devices once they are connected.

To send a list of files, you need to get the total size of the file and send the size to the receiver.

THen, you can start reading files, while sending and receive the files show progress bar to show file is being send.

This way, you can also show the list of files received, and before sending, show all the files in the list view.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com