Back to project page android-wear-go-walk.
The source code is released under:
MIT License
If you think the Android project android-wear-go-walk 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.beltranfebrer.gowalk2; //w w w. j av a 2s. c o m import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class BootCompletedIntentReceiver extends BroadcastReceiver { public BootCompletedIntentReceiver() { } @Override public void onReceive(Context context, Intent intent) { if ("android.intent.action.BOOT_COMPLETED".equals(intent.getAction())) { Intent pushIntent = new Intent(context, WearService.class); context.startService(pushIntent); } } }