Android Open Source - LocationService Boot Completed Receiver






From Project

Back to project page LocationService.

License

The source code is released under:

Apache License

If you think the Android project LocationService listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.manuelpeinado.locationservice;
/* ww  w .j av a 2s .  c  o m*/

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * Created by manuel on 21/07/13.
 */
public class BootCompletedReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        context.startService(new Intent(context, LocationService.class));
    }
}




Java Source Code List

com.manuelpeinado.fusedlocationprovidertest.Utils.java
com.manuelpeinado.locationservice.BootCompletedReceiver.java
com.manuelpeinado.locationservice.LocationService.java
com.manuelpeinado.locationservice.Utils.java