WiFi Direct File Transfer App Save

WiFi Direct File Transfer is a experimental app that will allow sharing of data between Android devices running Android 4.0 or higher using a WiFi direct connection without the use of a WiFi access point. This will enable data transfer between devices without relying on any existing network infrastructure

Project README

WiFi-Direct-File-Transfer-App

WiFi Direct File Transfer is a experimental app that will allow sharing of data between Android devices running Android 4.0 or higher using a WiFi direct connection without the use of a WiFi access point. This will enable data transfer between devices without relying on any existing network infrastructure

green horizontal

Currently available on the Play store.

Get it on Google Play


General Overview
Service Discovery
Power Consumption
More Recommended Reading

WARNING

This app is currently in beta so functionality subject to change.

Dependencies

This application is library independent

Installation an Usage

Just build it and install it to your device :-)

WARNING: The application does not work in the emulator, because the emulator does not have the method WifiP2pManager.initialize()

Requirements

  • AndroidStudio

Results

ScreenShot ScreenShot

WiFi Direct File Transfer works with good performances.
The main problems are the "Discovery Phase" of this protocol and the Wi-Fi Direct's implementation in Android, in fact:

  1. The discovery time is too high when the number of devices increases
  2. After a certain time, a device is no longer discoverable from others, so you need to restart the Discovery Phase on all devices

This shows that it's possible to extend the Wi-Fi Direct protocol in Android in some particular and limited scenarios, for example a transfer files.

News

  • 09/04/2018 - WiFi Direct File Transfer Beta 1 public release
  • 23/08/2018 - WiFi Direct File Transfer Beta 2 public release

Features

You can:

  1. show a list of nearby devices
  2. manage connection and disconnection between devices
  3. send message to dives ho are connected to you for check this device in peers list (not available in Android's official API)
  4. sending multiple files on both of two devices
  5. see what are you send/receive without disconnection, and open received files (just tap)
  6. auto restarting servers of receiving files and device info

Future extensions

  • Multiple files transfer
  • Progress bar in receive file
  • Who connected to your device check it in peer list
  • Fix corrupted files on specific devices (in fileServerAsyncTask)
  • Change path to receive
  • Change device name
  • Change transfer data between device, I mean read/write file by chunks
  • Connect more clients (now only possible between 2 devices)
  • and so on... ;)

Images


alt tag

alt tag


Usage

General usage

  1. Activate Wi-Fi on all devices
  2. Open this app on all devices
  3. App will auto discovering peers
  4. Сhoose the device from peers list for connect
  5. Wait until device are connecting
  6. App will auto open file chooser
  7. Choose the files what are you want to send

Troubles

If you have a troubles with connection to peer:

  • try to reconnect, if reconnection are successful, it will auto open file chooser
  • if you have another issue just restart an app and wait about 1 min (recall it's beta app)
  • if you have some troubles which are not described here, please open an issue or send email to [email protected]

License

Copyright 2018 Dmitry Marinin

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


**Created by Dmitry Marinin**
Open Source Agenda is not affiliated with "WiFi Direct File Transfer App" Project. README Source: YaphetS1/WiFi-Direct-File-Transfer-App
Stars
101
Open Issues
2
Last Commit
4 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating