Back to project page umbrella.alert.
The source code is released under:
GNU General Public License
If you think the Android project umbrella.alert 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 macbury.umbrella.receiver; //from w w w . j a va 2 s . c o m import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import macbury.umbrella.UmbrellaApplication; public class CheckWeatherReceiver extends BroadcastReceiver { private static final String TAG = "CheckWeatherReceiver"; public CheckWeatherReceiver() { } @Override public void onReceive(Context context, Intent intent) { Log.i(TAG, "Recived trigger from: " + intent.getAction()); UmbrellaApplication application = (UmbrellaApplication)context.getApplicationContext(); application.services.checkWeather(true); } }