I am developing a connection module that talks to a server via sockets. I intend for this module to behave such that it maintains its connection to the server by sending periodic heartbeats and if it gets disconnected because there is no internet connection, the module would wait for a couple of minutes and then attempt to reconnect again and this would happen continuously until it is connected. Now I want all of this to happen transparently in the background such that if there is no internet connection, it would just keep retrying against all the known access points defined by the user until one of them becomes active, AND without the user having to see any popups like asking the user to select a new access point from the available access points around the area.
The problem is when I invoke Connector.open(..), the access point selection dialog would appear for type/touch and touch devices if there is no internet connection available (e.g. you are away from your known wifi ap's and you have disabled your mobile data). Is there a way for the access point selection dialog to not show up at all?