I'm developing an Android application which needs to stay connected to a specific WiFi network (without internet connection) and make all Volley HTTP requests and socket communication via WiFi. The problem is when the device mobile network is enabled the requests go all to the mobile network.
How can I do this?