4. Connection manager
4.1 Connection status monitoring
The ConnectivityManager monitors the status of the current connection, whatever its type (Wifi, mobile, ethernet, etc.). It is designed to alert any activity to a change in status (loss of connection, switching to another network).
The connection manager is obtained by calling the getSystemService function.
ConnectivityManager connectivityManager=(ConnectivityManager)
getSystemService(Context.CONNECTIVITY_SERVICE);
The methods of the ConnectivityManager class are given...
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!
Connection manager
Article included in this offer
"Software technologies and System architectures"
(
227 articles
)
Updated and enriched with articles validated by our scientific committees
A set of exclusive tools to complement the resources
Bibliography
- (1) - MEIER (R.) - Professional Android 2. Application development. - ISBN-13 : 978-0470565520 (2010).
- (2) - KOMATINENI (S.), MACLEAN (D.), HASHIMI (S.) - Pro Android 3. - ISBN-13 : 978-1430232223 (2011).
Also in our...
Exclusive to subscribers. 97% yet to be discovered!
Already subscribed? Log in!