Example usage for android.support.v4.content WakefulBroadcastReceiver subclass-usage

List of usage examples for android.support.v4.content WakefulBroadcastReceiver subclass-usage

Introduction

In this page you can find the example usage for android.support.v4.content WakefulBroadcastReceiver subclass-usage.

Usage

From source file hmatalonga.greenhub.managers.sampling.DataEstimator.java

/**
 * Provides current Device data readings.
 *
 * Created by hugo on 09-04-2016.
 */
public class DataEstimator extends WakefulBroadcastReceiver {

From source file com.kyleszombathy.sms_scheduler.MessageAlarmReceiver.java

public class MessageAlarmReceiver extends WakefulBroadcastReceiver {
    private static final String TAG = "MessageAlarmReceiver";
    private AlarmManager alarm;
    private PendingIntent pendingIntent;
    private SmsManager smsManager = SmsManager.getDefault();
    public static final int NOTIFICATION_ID = 11111;

From source file com.attiqrao.systemsltd.list_to_do.AlarmReceiver.java

public class AlarmReceiver extends WakefulBroadcastReceiver {
    AlarmManager mAlarmManager;
    PendingIntent mPendingIntent;

    @Override
    public void onReceive(Context context, Intent intent) {

From source file com.supremainc.biostar2.push.GcmBroadcastReceiver.java

public class GcmBroadcastReceiver extends WakefulBroadcastReceiver {
    public static final String REGISTER_RESPONSE_ACTION = "com.google.android.c2dm.intent.REGISTRATION";
    public static final String TAG = GcmBroadcastReceiver.class.getSimpleName();

    private void Notification(PushNotification noti, Context context) {
        NotificationDBProvider dbProvider = NotificationDBProvider.getInstance(context);

From source file it.polimi.proximityapi.TechnologyManager.java

public class TechnologyManager extends WakefulBroadcastReceiver implements PassiveTechnologyListener {

    private static final String TAG = "TechnologyManager";

    /**
     * This value represents the defualt radius of the {@link POI} geofence in case it is not set by the client app

From source file com.brq.wallet.lt.notification.GcmBroadcastReceiver.java

public class GcmBroadcastReceiver extends WakefulBroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        // Explicitly specify that GcmIntentService will handle the intent.
        ComponentName comp = new ComponentName(context.getPackageName(), GcmIntentService.class.getName());

From source file com.mycelium.wallet.lt.notification.GcmBroadcastReceiver.java

public class GcmBroadcastReceiver extends WakefulBroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        // Explicitly specify that GcmIntentService will handle the intent.
        ComponentName comp = new ComponentName(context.getPackageName(), GcmIntentService.class.getName());

From source file com.kyloth.serleena.sensors.BackgroundLocationManager.java

/**
 * Implementa IBackgroundLocationManager.
 *
 * @use Viene utilizzato da LocationReachedManager, dietro interfaccia, per ricevere aggiornamenti sulla posizione utente in background, anche se il dispositivo  il sleep mode.
 * @field myResultReceiver : ServiceResultReceiver Oggetto utilizzato per ricevere risultati da un servizio.
 * @field am : AlarmManager Gestore degli allarmi di Android.

From source file com.psiphon3.psiphonlibrary.UpgradeChecker.java

public class UpgradeChecker extends WakefulBroadcastReceiver {
    private static final int ALARM_INTENT_REQUEST_CODE = 0;
    private static final String ALARM_INTENT_ACTION = UpgradeChecker.class.getName() + ":ALARM";
    private static final String CREATE_ALARM_INTENT_ACTION = UpgradeChecker.class.getName() + ":CREATE_ALARM";

    public static final String UPGRADE_FILE_AVAILABLE_INTENT_ACTION = UpgradeChecker.class.getName()