1

J2ME サンプルの WMADemo を使用して SMS を送受信しています。

SMSReceive MIDlet がインストールされていないデバイスの SMSSend MIDlet から 1 つの SMS を送信すると、メッセージは受信トレイに送られます。

これを防ぐ方法はありますか?

ありがとう。

4

1 に答える 1

0

I assume you want the message to be received by the MIDlet if it's present, and to be discarded if it's not installed, is that right?

There's nothing you can do about that, it's down to the individual handset. Some handsets (e.g. Nokia S40) will silently discard an SMS sent to a port number if there is no MIDlet listening for the message, whereas others will just display it as if it were a regular SMS.

于 2011-04-06T07:46:12.287 に答える