Connection manager
Wireless communication management on mobile devices. Google Android
Article REF: H1596 V1
Connection manager
Wireless communication management on mobile devices. Google Android

Author : Frédéric LEMOINE

Publication date: August 10, 2013 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

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...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Article included in this offer

"Software technologies and System architectures"

( 227 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details