Example usage for android.content ServiceConnection interface-usage

List of usage examples for android.content ServiceConnection interface-usage

Introduction

In this page you can find the example usage for android.content ServiceConnection interface-usage.

Usage

From source file com.inovex.zabbixmobile.activities.fragments.BaseServiceConnectedFragment.java

/**
 * Base class for fragments connected to the data service.
 * 
 * This class takes care of binding the service.
 * 
 */

From source file com.inovex.zabbixmobile.activities.fragments.BaseServiceConnectedListFragment.java

/**
 * Same as {@link BaseServiceConnectedFragment}, just based on a list fragment
 * instead of a regular one.
 * 
 */
public abstract class BaseServiceConnectedListFragment extends ListFragment implements ServiceConnection {

From source file org.retroshare.android.ProxiedFragmentBase.java

/**
 * This class is aimed to be inherited by Fragments that needs to communicate with RsService
 * provide out of the box almost all needed stuff to communicate with RsService
 * so each fragment doesn't need to handle all this common stuff
 */
public abstract class ProxiedFragmentBase extends Fragment implements ServiceConnection, ProxiedInterface {

From source file org.ohmage.streams.StreamWriter.java

/**
 * Easily connect and write streams to ohmage to be uploaded.
 *
 * @author cketcham
 */
public class StreamWriter implements ServiceConnection {

From source file com.nokia.example.paymentoneapk.PaymentOneAPKActivity.java

@SuppressWarnings("MethodOnlyUsedFromInnerClass")
public class PaymentOneAPKActivity extends Activity implements ServiceConnection {

    private static final String TAG = PaymentOneAPKActivity.class.getCanonicalName();

    public static final int TOAST_DURATION = 1500;

From source file org.lunci.lunci_waveform_example.ActivityServiceManagerBase.java

public abstract class ActivityServiceManagerBase extends FragmentActivity
        implements IActivityCommon, ServiceConnection {
    private static final String TAG = ActivityServiceManagerBase.class.getSimpleName();

    private IDataService mServiceFunction;
    // private Messenger mMessenger;

From source file org.lunci.dumbthing.fragment.ServiceFragmentBase.java

/**
 * Created by Lunci on 2/2/2015.
 */
public abstract class ServiceFragmentBase extends Fragment implements ServiceConnection {
    private static String TAG = ServiceFragmentBase.class.getSimpleName();

From source file de.schildbach.wallet.data.BlockchainStateLiveData.java

/**
 * @author Andreas Schildbach
 */
public class BlockchainStateLiveData extends LiveData<BlockchainState> implements ServiceConnection {
    private final WalletApplication application;
    private final LocalBroadcastManager broadcastManager;

From source file com.commonsware.android.weather.WeatherFragment.java

public class WeatherFragment extends Fragment implements LocationListener, WeatherListener, ServiceConnection {
    private WebView browser;
    private LocationManager mgr;
    private WeatherBinder weather;
    private String forecast;

From source file org.lunci.lunci_waveform_fragments.Fragment_ServiceManagerBase.java

public abstract class Fragment_ServiceManagerBase extends Fragment implements ServiceConnection {
    private static final String TAG = Fragment_ServiceManagerBase.class.getSimpleName();

    @Override
    public void onServiceConnected(ComponentName name, IBinder service) {
        mServiceFunction = (IDataService) service;