Back to project page RedditReader_Android_app.
The source code is released under:
MIT License
If you think the Android project RedditReader_Android_app 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.example.dawoon.redditreader.sync; // w w w . j a va 2 s . c o m import android.app.Service; import android.content.Intent; import android.os.IBinder; /** * Created by Dawoon on 2014-11-14. */ public class RedditAuthenticatorService extends Service { // Instance field that stores the authenticator object private RedditAuthenticator mAuthenticator; @Override public void onCreate() { // Create a new authenticator object mAuthenticator = new RedditAuthenticator(this); } /* * When the system binds to this Service to make the RPC call * return the authenticator's IBinder. */ @Override public IBinder onBind(Intent intent) { return mAuthenticator.getIBinder(); } }