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 ru.mtuci.musicanalyzer.apollo.ui.activities.ShortcutActivity.java

/**
 * This class is opened when the user touches a Home screen shortcut or album
 * art in an app-wdget, and then carries out the proper action. It is also
 * responsible for processing voice queries and playing the spoken artist,
 * album, song, playlist, or genre.
 * 

From source file net.sourceforge.servestream.fragment.NowPlayingFragment.java

public class NowPlayingFragment extends Fragment implements ServiceConnection {

    private View mNowPlayingView;
    private ImageView mCoverart;
    private TextView mTitle;
    private TextView mArtist;

From source file com.jesusla.google.BillingService.java

/**
 * This class sends messages to Android Market on behalf of the application by
 * connecting (binding) to the MarketBillingService. The application
 * creates an instance of this class and invokes billing requests through this service.
 *
 * The {@link BillingReceiver} class starts this service to process commands

From source file com.fat246.cybercar.activities.carmusics.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.piusvelte.taplock.client.core.TapLockToggle.java

public class TapLockToggle extends Activity implements ServiceConnection {
    private static final String TAG = "TapLockToggle";
    private ArrayList<JSONObject> mDevices = new ArrayList<JSONObject>();
    private ProgressDialog mProgressDialog;
    private String mProgressMessage = "";

From source file org.yammp.app.MusicBrowserActivity.java

public class MusicBrowserActivity extends SherlockFragmentActivity implements Constants, ServiceConnection {

    private ActionBar mActionBar;

    private ServiceToken mToken;
    private IMusicPlaybackService mService;

From source file org.libreoffice.impressremote.fragment.ComputersFragment.java

public class ComputersFragment extends ListFragment implements ServiceConnection, Runnable {
    private static final int SHOWING_PROGRESS_MESSAGE_DELAY_IN_SECONDS = 3;

    public enum Type {
        WIFI, BLUETOOTH
    }

From source file com.techmighty.baseplayer.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.naman14.timber.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 net.sourceforge.servestream.fragment.MiniControllerFragment.java

public class MiniControllerFragment extends Fragment implements ServiceConnection {

    private static final String IMAGE_CACHE_DIR = "small_album_art";
    private DatabaseImageResizer mImageFetcher;

    private View mNowPlayingView;