Back to project page tum-campus.
The source code is released under:
GNU General Public License
If you think the Android project tum-campus 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 de.tum.in.tumcampus.receivers; //ww w. j ava 2 s . c om import de.tum.in.tumcampus.services.SilenceService; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; /** * Receiver used to start the silenceService after the boot */ public class BootCompleted extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { // handle only boot completed if (intent.getAction().equals(Intent.ACTION_BOOT_COMPLETED)) { Intent i = new Intent(context, SilenceService.class); context.startService(i); } } }