I have trying to read sms when the sms come in device that time i want to read sms with my application. I have used below code snippet.
Code:def message_received(msg_id): box = inbox.Inbox() sms_text = box.content(msg_id) print sms_text box = inbox.Inbox() box.bind(message_received)
But, when i raised a send SMS message event from Emulator 's Utility -> Events that time "sms_text" does not show any text message. in this case i am gettin msg_id correct.
But, when i raised a send MMS message event from Emulator 's Utility -> Events that time "sms_text" show correctly like (This is message text.)
Please help me what is wrong with above code for not showing SMS message while pressing emulator's Emulator 's Utility -> Events SMS message -> Send.
I am using S60 3rd Edition FP2 sdk v1.1 Emulator.