String action = intent.getAction();
// make sure the app icon is removed every time the device boots.
if (action.equals(Intent.ACTION_BOOT_COMPLETED)) {
Bundle args = new Bundle();
args.putInt(StkAppService.OPCODE, StkAppService.OP_BOOT_COMPLETED);
context.startService(new Intent(context, StkAppService.class)
.putExtras(args));
}