Android Open Source - hts-cycle Wifi Off 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;
// w w  w . j ava 2  m
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.SystemClock;
import android.util.Log;

public class WifiOffReceiver extends BroadcastReceiver {

  public void onReceive(Context context, Intent intent) {
    // TODO Auto-generated method stub
    context.sendOrderedBroadcast(new Intent("it.uniroma2.shutdownbroadcast"),null); 
         Log.w("Service", "BroadCast Sended");



Java Source Code List