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
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
Currently available on the Play store.
General Overview
Service Discovery
Power Consumption
More Recommended Reading
This app is currently in beta so functionality subject to change.
This application is library independent
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()
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:
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.
You can:
If you have a troubles with connection to peer:
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.