Process method called by GSMApplet when an evelope is received.
EnvelopeHandler envHdlr = EnvelopeHandler.getTheHandler();
EnvelopeResponseHandler evpRspHdlr =
EnvelopeResponseHandler.getTheHandler();
switch (event) {
case EVENT_UNFORMATTED_SMS_PP_ENV:
byte result = envHdlr.findTLV(TAG_SMS_TPDU, (byte)1);
short length = envHdlr.getLength();
byte[] rspBuffer = new byte[length];
short rspLength = envHdlr.findAndCopyValue(TAG_SMS_TPDU,
rspBuffer, (short)0);
evpRspHdlr.appendArray(rspBuffer, (short)0, rspLength);
evpRspHdlr.post(rspBuffer[(short)(length - 1)]);
break;
}