@Override
	public boolean isServiceAvailable(Context context, Class<?> cls) {
	    final PackageManager packageManager = context.getPackageManager();
	    final Intent intent = new Intent(context, cls);
	    return packageManager.queryIntentServices(intent, PackageManager.MATCH_DEFAULT_ONLY).size() > 0;
	}
@Override
	public boolean isServiceAvailable(Context context, Class<?> cls) {
	    final PackageManager packageManager = context.getPackageManager();
	    final Intent intent = new Intent(context, cls);
	    return packageManager.queryIntentServices(intent, PackageManager.MATCH_DEFAULT_ONLY).size() > 0;
	}
@ Override public boolean isServiceAvailable ( Context context , Class < ? > cls ) { final PackageManager packageManager = context . getPackageManager ( ) ; final Intent intent = new Intent ( context , cls ) ; return packageManager . queryIntentServices ( intent , PackageManager . MATCH_DEFAULT_ONLY ) . size ( ) > 0 ; }
/* (non-Javadoc)
@see com.socialize.util.IAppUtils#isServiceAvailable(android.content.Context, java.lang.Class)
/ * ( non - Javadoc )