According to this discussion, it is not possible to receive an SMS message on port 0 using a MIDlet before it enters the Inbox. And although I am not familiar with the Wireless Messaging API, various other messages seem to indicate that you cannot access the mailbox (maybe I'm wrong).
, UR- (Unsolicited Response, "events" ),
SMS-, , , ( "" ) AT-.
. AT + CNMA ( ) ( AT- , , 27.007).
, , /. .
SMS , "", ,
( , )
SIM- ( ), J2ME un -. , , .