| Reply | « Previous Thread | Next Thread » |
|
Hi, is it possible to read the last received SMS, also specifying the SMS sender's number?
|
|
Hi there, anybody giving me any suggestions?
|
|
hello ,
It's easy ![]() Look at the official documentation in the inbox module (page 39) You can find in all you need ! Watch out if sms number is in the contact list you get contact name and not phone number !!! (bug ???) pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
|
ok, yes I had this document!
It's very clear...So, if I need to retrieve the last SMS send by a particular number/contact, I should build a for cycle picking up the first element of the i.address array, shouldn't I? thank you. Second question (pls pardon me): I also found this code that binds a callback, but it does not work: import inbox id=0 def cb(id_cb): global id id=id_cb i=inbox.Inbox() i.bind(cb) i.address(id) i.content(id) I receive the error: i.address(id) SymbianError:[Errno -1] KErrNotFound Thank you again! |
|
As always, post your code inside a code tag or it's unreadable.
|
|
what do you mean?
|
|
Quote:
To preserve indentation in code listing in this forum you need to enclose python code example between special tag (like html tag) like this: begin code tag is : open bracket then code following close bracket end code tag is : open bracket then /code following close bracket example with tag : Code:
if a==3:
print
if a==3: Thanks to repost it now your code sample Cyke64 pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| SMS: how to write a new received sms into inbox | l24012 | Symbian Tools & SDKs | 2 | 2004-12-21 02:58 |
| HELP! problem w/ sending and reading sms.. | mauve928 | General Messaging | 0 | 2003-12-14 20:10 |
| SMS received Confirmation ! | naoriya | General Messaging | 1 | 2003-07-14 13:43 |
| Reading SMS from D211 on Linux OS. | panico | Multimodecards | 1 | 2002-12-05 06:40 |
| at commands for reading sms in "My Foldes" | elf_legolas | General Messaging | 1 | 2002-07-15 10:17 |