Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Coding a Mobile Application : Connectivity Status API : Querying the Current Connection State
Querying the Current Connection State
If an application needs to know the connection state infrequently, it may be useful to poll for it directly. The method getConnectivityStatus() will return true if any interface is connected. If a specific interface is required, then it is possible to use isWiFiConnected(), isCellularConnected(), or getCurrentConnectivityTypes().
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback