Lines Matching refs:intent
24 import android.content.Intent;
36 public void onReceive(Context context, Intent intent) {
37 String action = intent.getAction();
43 handleAction(context, intent, StkAppService.OP_CMD);
45 handleAction(context, intent, StkAppService.OP_END_SESSION);
47 handleAction(context, intent, StkAppService.OP_CARD_STATUS_CHANGED);
48 } else if (action.equals(Intent.ACTION_LOCALE_CHANGED)) {
51 handleAction(context, intent, StkAppService.OP_ALPHA_NOTIFY);
52 } else if (action.equals(Intent.ACTION_SCREEN_OFF)) {
57 private void handleAction(Context context, Intent intent, int op) {
59 int slot_id = intent.getIntExtra(StkAppService.SLOT_ID, 0);
65 args.putParcelable(StkAppService.CMD_MSG, intent
70 if ((intent.getBooleanExtra(AppInterface.CARD_STATUS, false) == false)
76 intent.getBooleanExtra(AppInterface.CARD_STATUS, true));
78 intent.getIntExtra(AppInterface.REFRESH_RESULT,
81 String alphaString = intent.getStringExtra(AppInterface.ALPHA_STRING);
87 Intent toService = new Intent(context, StkAppService.class);
95 context.startService(new Intent(context, StkAppService.class)
102 context.startService(new Intent(context, StkAppService.class)