package com.nbusy.app;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

public class WorkerService extends Service {
    @Override
    public IBinder onBind(Intent intent) {
        // don't allow direct binding to this service
        return null;
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        // todo: initiate connection to nbusy server using neptulon json-rpc java client (or nbusy java client which wraps that and auto-adds all routes)?

        // we want this service to continue running until it is explicitly stopped, so return sticky
        return START_STICKY;
    }
}

@@ -218,451 +218,19 @@
     
-// don't allow direct binding to this service%0A        return null;%0A    %7D%0A%0A    @Override%0A    public int onStartCommand(Intent intent, int flags, int startId) %7B%0A        // todo: initiate connection to nbusy server using neptulon json-rpc java client (or nbusy java client which wraps that and auto-adds all routes)?%0A%0A        // we want this service to continue running until it is explicitly stopped, so return sticky%0A        return START_STICKY
+return null
 ;%0A  

clear worker service details for now