Hi to all! I wanna create a simple python application that let me to see tha last sms full details!
I'm using this code
I know that Inbox objects have the following functions:Code:# import module import inbox i = inbox.Inbox() m = i.sms_messages() # all message ID's content_m=i.content(m[0]) # first message print i.time(m[0]) # arrive time print i.address(m[0]) print i.content(m[0])
sms messages() Returns a list of SMS message IDs in device inbox.
content(sms id) Retrieve the SMS message content in Unicode.
time(sms id) Retrieve the SMS message time of arrival in seconds since epoch.
address(sms id) Retrieve the SMS message sender address in Unicode.
delete(sms id) Delete the SMS message from inbox.
unread(sms id) Returns the status (1=unread, 0=read) of the SMS with id.
but ther isn't an
smsmessagecenternumber(sms id) that returns the message center number of the selected sms
is there a way to kwno that info?
(the message center number of the received sms)
thanks!

Reply With Quote




