Android Wi-Fi AP Hotspot - No Internet

There are many posts on how to configure AP (Hotspot) on an Android phone. However, in all these cases, the AP is a channel for the outside world of the Internet. In my case, I just want the server application to run through the mobile installation as an access point. And let all Android Android mobile phones connect to it, send their data and disconnect if they want. No internet connection is assumed (i.e. No gprs / 3g, etc.).

My observations. If I configure Wi-Fi AP (through settings → binding and portable access points) when it is also connected to GPRS, then another Android phone can successfully connect to this access point and send data to the application. However, if I disable GPRS, even if the client shows that it is connected to the AP, it cannot send any data. An external internet connection seems to be necessary for AP mode to work.

Is this understanding correct? Or am I installing something wrong?

+5
source share
3 answers

I think you used IP addresses in your code, not local IP addresses for communication, right?

0
source

, , . , Wi-Fi HotSpot. , , SIM-, HotSpot ( SIM-).

, Android. , HotSpot . , Android HotSpot, ?

0

, ( 3 ), . Nexus 4 Android 5.0.1, , Wi-Fi Wi-Fi - . Settings / Data Usage "Mobile data" "". WiFi hotspot, .

, VirtualBox VulnHub.com, Bridged Connection, ( , :)

0

All Articles