Android Open Source - hts-cycle Shut Down Receiver

From Project

Back to project page hts-cycle.


The source code is released under:

GNU General Public License

If you think the Android project hts-cycle listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package it.uniroma2.wifionoff;
/*ww  w .  ja va 2s.  c  o  m*/
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class ShutDownReceiver extends BroadcastReceiver {

  private static final String Log_tag = "ShutDownReceiver";

  public void onReceive(Context context, Intent intent) {
    // TODO Auto-generated method stub
    ServiceCall ser=ServiceCall.getInstance(context);
    context.sendBroadcast(new Intent(Setting.TIMEOUT_OCCURRED)); 
      Log.w(Log_tag,"B Received");


Java Source Code List