Back to project page sunshine.
The source code is released under:
Apache License
If you think the Android project sunshine listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.zmb.sunshine.sync; /*w w w . j av a 2 s . com*/ import android.app.Service; import android.content.Intent; import android.os.IBinder; /** * A service that allows the SyncAdapter framework to interact with our * {@link com.zmb.sunshine.sync.DummyAuthenticator}. */ public class DummyAuthenticatorService extends Service { private DummyAuthenticator mAuthenticator; @Override public void onCreate() { super.onCreate(); mAuthenticator = new DummyAuthenticator(this); } @Override public IBinder onBind(Intent intent) { return mAuthenticator.getIBinder(); } }