sPFLib/src/main/java/it/polimi/spf/lib/SPF.java
public static void connect(final Context context, final ConnectionListener listener) {
		Component.load(context, DESCRIPTOR, asBase(listener));
	}
public static void connect(final Context context, final ConnectionListener listener) {
		Component.load(context, DESCRIPTOR, asBase(listener));
	}
public static void connect ( final Context context , final ConnectionListener listener ) { Component . load ( context , DESCRIPTOR , asBase ( listener ) ) ; }
Creates a connection to SPF asynchronously.

@param context
- the context used to bind to SPF service.
@param listener
- the listener that is notified when the connection to SPF is
ready, when the connection is closed or when an error occurs.
Creates a connection to SPF asynchronously .