Back to project page android_sensor_logger.
The source code is released under:
MIT License
If you think the Android project android_sensor_logger 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.pinsonault.androidsensorlogger; //from ww w .ja v a2s . co m import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; /** * Created by joe on 11/8/13. */ public class LoggerServiceReceiver extends BroadcastReceiver { public void onReceive(Context context, Intent intent) { Intent startServiceIntent = new Intent(context, LoggerService.class); context.startService(startServiceIntent); } }