SynchronizationService.java :  » UnTagged » libra-android » net » cachapa » libra » sync » Android Open Source

Android Open Source » UnTagged » libra android 
libra android » net » cachapa » libra » sync » SynchronizationService.java
package net.cachapa.libra.sync;

import android.app.NotificationManager;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.os.Parcel;
import android.os.RemoteException;

public class SynchronizationService extends Service {
  private final IBinder binder = new Binder() {
    @Override
    protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) throws RemoteException {
      return super.onTransact(code, data, reply, flags);
    }
  };
  private NotificationManager notificationManager;
  
  @Override
  public void onCreate() {
    notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
    
    
  }
  
  @Override
  public IBinder onBind(Intent intent) {
    return binder;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.