The Following User Says Thank You to Pinatz For This Useful Post: | ||
|
2011-06-18
, 04:28
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#2
|
|
2011-06-18
, 06:04
|
Posts: 135 |
Thanked: 93 times |
Joined on Dec 2010
|
#3
|
|
2011-06-19
, 17:10
|
Posts: 43 |
Thanked: 33 times |
Joined on Dec 2008
|
#4
|
smsid=sms.receive(0); print "Getting text"; sms=sms.get(smsid); if sms[1]#null then print "Trying to transfer to PC"; io.writeln(s,"<Message>" + sms[0] + "<#>"+encoding.toutf8(sms[1])+"</Message>"); print sms[1] + " from " + sms[0] + " sent to PC"; sms.set(smsid, ["unread":false]); end;
text = io.readln(s); print "Got a stream : " + text ; if text = "<SendPhoneBook>" then Telefonbuch(s,serverrunning); end;
Some time ago I programmed a software to send sms from you pc for my Nokia XPM 5800. But I buyed a n900 a half year ago or so and now I cant use the symbian-application any more.
Here is a picture of the server which runs on windows.
Edit{: the main interface has changed a little bit. It shows the local device IP's and the connected clients (more than one is possible)
}
I want to get a port to N900 but I'm not an advanced coder in qt and so I ask you who likes to develop the client-side of this application. (or even try :>)
The server listens on the port 4007 for clients which connect to it and send/receive strings.
The grammar for the strings is like this :
incoming sms:
Sending phonebook entries from phone to pc:
btw there was somebody who wanted this function last year. So this might be a cool solution as my interface for windows is looking cool and it would be easy to use
Last edited by Pinatz; 2011-06-16 at 09:20.