Back to project page makler.
The source code is released under:
GNU General Public License
If you think the Android project makler 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 pl.net.newton.Makler.receivers; // w w w .jav a2 s . c om import pl.net.newton.Makler.common.Configuration; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class StartupReceiver extends BroadcastReceiver { private static final String TAG = "Makler"; @Override public void onReceive(Context context, Intent intent) { if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) { Configuration config = new Configuration(context); if (config.getAutostart()) { Log.d(TAG, "on boot"); QuotesAlarmReceiver.setAlarm(context); } } } }