com.stringsandints.inventium.khlrooster.services
Class SyncService

java.lang.Object
  extended by Service
      extended by com.stringsandints.inventium.khlrooster.services.SyncService

public class SyncService
extends Service

Service that handles the scheduled synchronisation between the ical file and the local database


Field Summary
 Intent callingIntent
           
protected  SyncService globalcontext
           
 
Constructor Summary
SyncService()
           
 
Method Summary
 void doStart(Intent intent)
          Handles the starting of the service
 int doSync(Service s)
          This method performs the actual sync
 IBinder onBind(Intent intent)
           
 void onStart(Intent intent, int startId)
          Legacy implementation of onStartCommand
 int onStartCommand(Intent intent, int flags, int startId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

globalcontext

protected final SyncService globalcontext

callingIntent

public Intent callingIntent
Constructor Detail

SyncService

public SyncService()
Method Detail

onStartCommand

public int onStartCommand(Intent intent,
                          int flags,
                          int startId)

onStart

public void onStart(Intent intent,
                    int startId)
Legacy implementation of onStartCommand


onBind

public IBinder onBind(Intent intent)

doStart

public void doStart(Intent intent)
Handles the starting of the service


doSync

public int doSync(Service s)
This method performs the actual sync