Back to project page LocationUpdate.
The source code is released under:
Copyright (c) 2011 Stefan A. van der Meer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to dea...
If you think the Android project LocationUpdate 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.meernet.LocationUpdate; //from w w w. ja v a 2 s.c o m import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; /** * Based on BootReceiver from android photostream example. */ public class BootReceiver extends BroadcastReceiver { static final String TAG = "LocationUpdate.BootReceiver"; public void onReceive(Context context, Intent intent) { if (Intent.ACTION_BOOT_COMPLETED.equals(intent.getAction())) { Log.d(TAG, "Received boot signal, scheduling SendService."); SendService.onBoot(context, intent); } } }