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.christophergs.mbientbasic.ModuleFragmentBase.java

/**
 * Created by etsai on 8/22/2015.
 */
public abstract class ModuleFragmentBase extends Fragment implements ServiceConnection {
    public interface FragmentBus {
        BluetoothDevice getBtDevice();

From source file com.wolkabout.hexiwear.activity.MainActivity.java

@OptionsMenu(R.menu.menu_main)
@EActivity(R.layout.activity_main)
public class MainActivity extends AppCompatActivity implements ServiceConnection {

    private static final String TAG = MainActivity.class.getSimpleName();
    private static final String OTAP_PREFIX = "OTAP";

From source file com.telestax.restcomm_helloworld.MainActivity.java

public class MainActivity extends Activity
        implements RCDeviceListener, RCConnectionListener, OnClickListener, ServiceConnection {

    private RCDevice device;
    boolean serviceBound = false;

From source file com.cyanogenmod.eleven.ui.activities.BaseActivity.java

/**
 * A base {@link FragmentActivity} used to update the bottom bar and
 * bind to Apollo's service.
 * <p>
 * {@link SlidingPanelActivity} extends from this skeleton.
 *

From source file com.mbientlab.metawear.starter.DeviceSetupActivity.java

public class DeviceSetupActivity extends AppCompatActivity implements ServiceConnection, FragmentSettings {
    public final static String EXTRA_BT_DEVICE = "com.mbientlab.metawear.starter.DeviceSetupActivity.EXTRA_BT_DEVICE";

    public static class ReconnectDialogFragment extends DialogFragment implements ServiceConnection {
        private static final String KEY_BLUETOOTH_DEVICE = "com.mbientlab.metawear.starter.DeviceSetupActivity.ReconnectDialogFragment.KEY_BLUETOOTH_DEVICE";

From source file com.microntek.music.activities.BaseActivity.java

/**
 * A base {@link FragmentActivity} used to update the bottom bar and
 * bind to Apollo's service.
 * <p>
 * {@link SlidingPanelActivity} extends from this skeleton.
 *

From source file ru.mtuci.musicanalyzer.apollo.ui.activities.BaseActivity.java

/**
 * A base {@link FragmentActivity} used to update the bottom bar and
 * bind to Apollo's service.
 * <p>
 * {@link HomeActivity} extends from this skeleton.
 * 

From source file examples.baku.io.permissions.examples.EmailActivity.java

public class EmailActivity extends AppCompatActivity implements ServiceConnection {

    private static final String TAG = PermissionService.class.getSimpleName();
    private DrawerLayout mDrawerLayout;
    private ItemTouchHelper mItemTouchHelper;

From source file org.musicmod.android.app.MusicBrowserActivity.java

public class MusicBrowserActivity extends ActionBarActivity
        implements Constants, ViewSwitcher.ViewFactory, ServiceConnection {

    private ViewPager mViewPager;
    private TabsAdapter mTabsAdapter;
    private ServiceToken mToken;

From source file net.sourceforge.servestream.activity.MainActivity.java

public class MainActivity extends ActionBarActivity implements ServiceConnection, BrowseIntentListener, ItemAccess {

    private static final String STATE_SELECTED_NAVIGATION_ITEM = "selected_navigation_item";

    private final static String DOWNLOAD_SCANNER_DIALOG = "download_scanner_dialog";