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.mine.psf.PsfFileBrowserActivity.java

public class PsfFileBrowserActivity extends Activity implements ServiceConnection,
        SharedPreferences.OnSharedPreferenceChangeListener, ActivityCompat.OnRequestPermissionsResultCallback {
    private static final String LOGTAG = "PsfFileBrowserActivity";

    private static final int ID_EXIT = 1;
    private static final int ID_PLAY_ALL = 2;

From source file jp.co.conit.sss.sp.ex1.billing.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 that it
 * receives from Android Market. You should modify and obfuscate this code

From source file com.wikaba.ogapp.OverviewFragment.java

public class OverviewFragment extends Fragment
        implements ServiceConnection, LoaderManager.LoaderCallbacks<List<FleetEvent>>, AbsListView.RecyclerListener,
        Runnable, View.OnClickListener {

    private static final String HEADER_KEY = "com.wikaba.ogapp.OverviewFragment.HEADER";
    static final String USERNAME_KEY = "com.wikaba.ogapp.OverviewFragment.USERNAME";

From source file com.irateam.vkplayer.activities.ListActivity.java

public class ListActivity extends AppCompatActivity implements AudioService.Listener,
        NavigationView.OnNavigationItemSelectedListener, ServiceConnection, ActionMode.Callback {

    private AudioAdapter audioAdapter = new AudioAdapter(this);
    private AudioService audioService = new AudioService(this);

From source file za.co.paulscott.antifitness.ModuleActivity.java

/**
 * @author etsai
 * 
 */
public class ModuleActivity extends FragmentActivity
        implements DeviceInfoFragment.Callbacks, ScannerFragment.OnDeviceSelectedListener, ServiceConnection {

From source file com.stephenmcgruer.simpleupnp.fragments.FileBrowserFragment.java

public class FileBrowserFragment extends Fragment
        implements AdapterView.OnItemClickListener, ServiceConnection, FileBrowserAdapter.OnItemClickListener,
        BookmarksReadTask.ResultListener, BookmarksRemoveTask.ResultsListener, BookmarksWriteTask.ResultListener {

    private static final String TAG = "FileBrowserFragment";

From source file com.docd.purefm.ui.activities.BrowserPagerActivity.java

/**
 * Activity that holds ViewPager with BrowserFragments
 * and manages ActionBar and Key events
 *
 * @author Doctoror
 */

From source file org.pixmob.fm2.ui.AccountsFragment.java

/**
 * {@link Fragment} displaying {@link Account} instances.
 * @author Pixmob
 */
public class AccountsFragment extends ListFragment
        implements LoaderCallbacks<List<Account>>, SyncService.Listener, ServiceConnection {

From source file org.libreoffice.impressremote.activity.SlideShowActivity.java

public class SlideShowActivity extends AppCompatActivity implements ServiceConnection {
    public enum Mode {
        PAGER, GRID, EMPTY, STARTPOINTER, STOPPOINTER
    }

    private Mode mMode;

From source file com.android.music.ArtistAlbumBrowserFragment.java

public class ArtistAlbumBrowserFragment extends Fragment
        implements OnCreateContextMenuListener, MusicUtils.Defs, ServiceConnection, OnChildClickListener {
    private String mCurrentArtistId;
    private String mCurrentArtistName;
    private String mCurrentAlbumId;
    private String mCurrentAlbumName;