*public* *class* USSDNotification *implements* IUSSDNotification
{
*public* *void* process(AGateway gateway, USSDResponse response) {
System.*out*.println("USSD handler called from Gateway: " +
gateway.getGatewayId());
System.*out*.println(response.getContent());
}
}
}
Le jeudi 12 juin 2014 16:33:21 UTC+1, UL MOO a écrit :
>
> *=======================================================*
> *public* *class* USSDNotification *implements* IUSSDNotification
>
> {
>
> *public* *void* process(AGateway gateway, USSDResponse response) {
>
> System.*out*.println("USSD handler called from Gateway: " +
> gateway.getGatewayId());
>
> System.*out*.println(response.getContent());
>
> e.printStackTrace();
>
> // *TODO*: handle exception
>
> }
>
> }
>
> }
>
>
> Le mercredi 14 mai 2014 19:47:23 UTC+1, Abiodun a écrit :
>>
>> After using
>> gateway.sendUSSDCommand("*556#");
>> response is simply "OK"
>> How can I display other information in the response;
>> Thank you for your anticipated reply.
>>
>
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion Group" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/smslib/e7575ff2-1e35-432b-b46b-4172d700b125%40googlegroups.com.