/**
** Copyright (c) 2010 Ushahidi Inc
** All rights reserved
** Contact: team@ushahidi.com
** Website: http://www.ushahidi.com
**
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser
** General Public License version 3 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 3 requirements
** will be met: http://www.gnu.org/licenses/lgpl.html.
**
**
** If you have questions regarding the use of this file, please contact
** Ushahidi developers at team@ushahidi.com.
**
**/
package com.ushahidi.android.app;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class MainReceiver extends BroadcastReceiver {
public static final String ACTION_REFRESH_REPORT_ALARM =
"com.ushahidi.android.app.ushahidi.ACTION_UPDATE_USHAHIDI_ALARM";
@Override
public void onReceive(Context context, Intent intent) {
Intent startIntent = new Intent(context, BackgroundService.class);
context.startService(startIntent);
}
}