Bad Programming
As Vodafone has extended its free txt promotion, weekend here (New Zealand) is a good time to txt your friends without worrying about losing your phone credit. It's when people start to sharing jokes or even some nonsense stuff via txting. And at the same time, it is a good time to annoy your friends. The most annoying txt is when it's sent letter by letter and what they do is type it in letter by letter manually but with the existence of Python for mobile phone Serie 60 (and I'm sure they Python for other mobile devices as well) we can do it easily. Below is a few lines of code to automate that manual process.
import appuifw
import messaging
data = appuifw.query(u"Message: ", "text")
nbr = appuifw.query(u"Phone Number: ", "text")
txt = unicode(data);
if appuifw.query(u"You sure wanna send?","query") == True:
for i in txt:
messaging.sms_send(nbr, i)
appuifw.note(u"Messages sent", "info")
From this code and with a very lil knowledge of programming you can modify it to make it send word by word or a reversed message. Enjoy :) !
No comments:
Post a Comment