tyyen
tyyen

Reputation: 3

How to trigger EVENT_FORMATTED_SMS_PP_ENV in sim toolkit applet?

I try to send a SMS message to trigger the events EVENT_FORMATTED_SMS_PP_ENV and EVENT_UNFORMATTED_SMS_PP_ENV, but it seems that it doesn't work. It doesn't send another message.

public void processToolkit(byte event) {
    case EVENT_FORMATTED_SMS_PP_ENV:
        // send_another_msg();
        break;
    case EVENT_UNFORMATTED_SMS_PP_ENV:
        // send_another_msg();
        break;
    default:
        break;
}

Upvotes: 0

Views: 388

Answers (1)

kumar arvind gupta
kumar arvind gupta

Reputation: 16

Firstly register the both events with the help of toolkit registry, it will start to work correctly, kindly also take care about the TAR value.

Upvotes: 0

Related Questions