Back to project page favouritetv.
The source code is released under:
Copyright (c) 2011 Andr? Prata<andreprata@ua.pt> Eriksson Monteiro<eriksson.monteiro@ua.pt> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associat...
If you think the Android project favouritetv listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * /*from w ww . j a v a 2s .c o m*/ */ package pt.ua.code.favouritetv.service; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; /** * @author Andr Prata * */ public class ContextStartup extends BroadcastReceiver { private static String TAG = "ContextStartup"; /* (non-Javadoc) * @see android.content.BroadcastReceiver#onReceive(android.content.Context, android.content.Intent) */ @Override public void onReceive(Context context, Intent intent) { Log.d(TAG, "Starting the ContextAlerter service."); Intent serviceIntent = new Intent(); serviceIntent.setAction("pt.ua.code.favouritetv.service.ContextAlerter"); context.startService(serviceIntent); Log.d(TAG, "ContextAlerter started."); } }