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.devalladolid.musictoday.activities.BaseActivity.java

public class BaseActivity extends ATEActivity implements ServiceConnection, MusicStateListener {

    private final ArrayList<MusicStateListener> mMusicStateListener = new ArrayList<>();
    private MusicPlayer.ServiceToken mToken;
    private PlaybackStatus mPlaybackStatus;

From source file com.technologx.blaze.player.activities.BaseActivity.java

public class BaseActivity extends ATEActivity implements ServiceConnection, MusicStateListener {

    private final ArrayList<MusicStateListener> mMusicStateListener = new ArrayList<>();
    private MusicPlayer.ServiceToken mToken;
    private PlaybackStatus mPlaybackStatus;

From source file com.cyanogenmod.effem.FmRadio.java

public class FmRadio extends Activity implements FmRadioService.Callbacks, ServiceConnection {

    private static final String LOG_TAG = "Effem";
    public static final String PREFS_NAME = "FMRadioPrefsFile";

    // Menu identifiers

From source file com.twp.music.MainActivity.java

/**
 * Created by pengqinping on 15/3/8.
 *
 * @email Royal.k.peng@gmail.com
 * @description ?
 */

From source file com.mbientlab.metawear.app.ModuleListFragment.java

/**
 * A list fragment representing a list of Modules. This fragment also supports
 * tablet devices by allowing list items to be given an 'activated' state upon
 * selection. This helps indicate which item is currently being viewed in a
 * {@link ModuleDetailFragment}.
 * <p>

From source file be.deadba.ampd.SettingsActivity.java

/**
 * A {@link PreferenceActivity} that presents a set of application settings. On
 * handset devices, settings are presented as a single list. On tablets,
 * settings are split by category, with category headers shown to the left of
 * the list of settings.
 * <p>

From source file com.github.chenxiaolong.dualbootpatcher.switcher.MbtoolTaskOutputFragment.java

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

    private static final String EXTRA_IS_RUNNING = TAG + ".is_running";
    private static final String EXTRA_TASK_ID = TAG + ".task_id";

From source file com.saulcintero.moveon.MainHolder.java

public class MainHolder extends FragmentActivity implements ServiceConnection {
    private DataManager DBManager = null;
    private MoveOnService mService;

    private SharedPreferences prefs;
    private SharedPreferences.Editor editor;

From source file com.evandroid.musica.activities.BaseActivity.java

public class BaseActivity extends ATEActivity implements ServiceConnection, MusicStateListener {

    private final ArrayList<MusicStateListener> mMusicStateListener = new ArrayList<>();
    private MusicPlayer.ServiceToken mToken;
    private PlaybackStatus mPlaybackStatus;

From source file com.mbientlab.metawear.app.ModuleFragmentBase.java

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