Back to project page android-uds.
The source code is released under:
MIT License
If you think the Android project android-uds 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 org.imazlwifu.uds.ipc; /*from www . j av a 2 s. c om*/ import org.imazlwifu.uds.DataService; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; /** * Starts the <code>DataService</code> on broadcast by <code>AlarmManager</code> * @author Sascha Eiteneuer * */ public class AlarmReceiver extends BroadcastReceiver { @Override public void onReceive( Context context, Intent intent ) { context.startService( new Intent( context, DataService.class ) ); } }