Back to project page smsgateway-android.
The source code is released under:
GNU General Public License
If you think the Android project smsgateway-android 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 com.nubgames.smsgateway; //from w ww .j a v a 2 s . c o m import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class BootCompleted extends BroadcastReceiver { private final static String ACTION = "android.intent.action.BOOT_COMPLETED"; @Override public void onReceive(Context context, Intent intent) { if (! intent.getAction().equals(ACTION)) { return; } if (Settings.getStartup(context)) { Intent newIntent = new Intent(context, BOSHConnection.class); context.startService(newIntent); } } }