rename Check to TagEvent
[YkNeoCR.git] / src / org / average / nfcauthcr / Autostart.java
1 package org.average.nfcauthcr;
2
3 import android.content.BroadcastReceiver;
4 import android.content.Context;
5 import android.content.Intent;
6 import android.util.Log;
7
8 import org.average.nfcauthcr.TagEvent;
9
10 public class Autostart extends BroadcastReceiver {
11
12         final String TAG = getClass().getName();
13
14         @Override
15         public void onReceive(Context context, Intent intent) {
16                 Log.v(TAG, "Autostart called");
17                 Intent i = new Intent(context, TagEvent.class);
18                 i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
19                 context.startService(i);
20         }
21 }