Back to project page WlanLogin.
The source code is released under:
GNU General Public License
If you think the Android project WlanLogin 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 net.shirayu.android.WlanLogin; /*from w ww .jav a 2 s. c om*/ /* * THIS FILE IS FROM "FerecAuth" * 2-clause BSD license */ import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; public class StartReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context.getApplicationContext()); if (sharedPreferences.getBoolean(Const.exec_autolunch, false)) { Intent authServiceIntent = new Intent(context.getApplicationContext(), WlanAuthService.class); context.startService(authServiceIntent); } } }