SyncFilesStartupIntentReciever.java :  » UnTagged » wualasync » com » laksrecordings » wualasync » Android Open Source

Android Open Source » UnTagged » wualasync 
wualasync » com » laksrecordings » wualasync » SyncFilesStartupIntentReciever.java
package com.laksrecordings.wualasync;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class SyncFilesStartupIntentReciever extends BroadcastReceiver {

  @Override
  public void onReceive(Context arg0, Intent arg1) {
    // Startup service
    InitExecutionService.delayStartup = true;
    Intent svc = new Intent(arg0, InitExecutionService.class);
    svc.putExtra("action", InitExecutionService.ADD_ACTION);
    arg0.startService(svc);
  }

}
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.