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.
package it.uniroma2.wifionoff; // w w w . j ava 2 s.co 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 { @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub OnOffService.setStilloN(); context.sendOrderedBroadcast(new Intent("it.uniroma2.shutdownbroadcast"),null); Log.w("Service", "BroadCast Sended"); } }