Home | History | Annotate | Download | only in repeatingalarm

Lines Matching defs:intent

21 import android.content.Intent;
46 // First create an intent for the alarm to activate.
49 Intent intent = new Intent(getActivity(), MainActivity.class);
50 intent.setAction(Intent.ACTION_MAIN);
51 intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
55 // Because the intent must be fired by a system service from outside the application,
57 // a PendingIntent gives that other process permission to fire the intent that this
62 intent, 0);