I am trying to create an app where one android app can transfer files ( text , video , photo ) to other multiple android devices.initially i thought to use wifi direct in android to share files across multiple devices.
but the problem i am facing with WiFi direct is , its inconsistency in maintaining connection and finding other devices.
1) sometimes app has to wait around 5 mins or more minutes and after that its able to connect.
2) many times after accepting invitation through a dialog from other device, it takes lot of time in changing connection to connected
state and till then device is not able to get the IP address of other device.
after experiencing the inconsistency, i thought to drop the idea of using wifi direct. does anyone has a better suggestion to FASTER
transfer multiple files from one mobile device to another devices without access points.
Hotspot uses hidden methods which are invoked using Reflection. Essentially, hotspot is an access point to which other people can connect as they connect to normal wifi networks.
As told above it is an access point, hence they are two major functions one needs to support
1. Creating a hotspot
Setting up a hotspot with password (WPA2 in the following example)
2. Connecting to a hotspot
Coming to think of it, you may also need list of devices connected to hotspot
Also you may need to scan for nearby Wifi networks to get the network to connect to.
Hope these are all the pointers you need..!!