Home | History | Annotate | Download | only in stk

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);
55 private void handleAction(Context context, Intent intent, int op) {
57 int slot_id = intent.getIntExtra(StkAppService.SLOT_ID, 0);
63 args.putParcelable(StkAppService.CMD_MSG, intent
68 if ((intent.getBooleanExtra(AppInterface.CARD_STATUS, false) == false)
74 intent.getBooleanExtra(AppInterface.CARD_STATUS, true));
76 intent.getIntExtra(AppInterface.REFRESH_RESULT,
79 String alphaString = intent.getStringExtra(AppInterface.ALPHA_STRING);
85 Intent toService = new Intent(context, StkAppService.class);
93 context.startService(new Intent(context, StkAppService.class)