You Are Here:

Community: Developer Discussion Boards

#1 Old Goto a link based on sms - 2008-08-17, 19:36

Join Date: Aug 2008
Posts: 2
soorajb
Offline
Registered User
Hi to all.
I am new to python.
Well i am currently trying to make a python script which culd do the following:
When an SMS is recived my script would goto a webpage
say if i revce any message with content "hai" then myscript would goto www.yahoo.com(say).

Well made the script to this much . can anyone help more?

import inbox, appuifw, e32,

def message_received(msg_id):
box = inbox.Inbox()
sms_text = box.content(msg_id)
app_lock.signal()

box = inbox.Inbox()
box.bind(message_received)

print "Waiting for new SMS messages.."
app_lock = e32.Ao_lock()
app_lock.wait()

Thanks!! Sooraj
Reply With Quote

#2 Old Re: Goto a link based on sms - 2008-08-17, 19:41

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
hi sooraj
welcome to the forum nokia discussion boards.
Yes you can do that wait for an sms the just call an url after that have a look at this article which will help you to open web pages.

EDIT: The next time you post your codes please use the code tags(#) provided.

Hope This helps
Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Last edited by gaba88 : 2008-08-17 at 19:51.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Read SMS/ SMS Alert. nirenj General Messaging 3 2009-01-14 13:39
Send SMS Problem. Cannot Get SMSC Address. Due to Strange SIM Card? cksong Mobile Java Networking & Messaging & Security 1 2007-07-02 17:13
Location Based SMS, good... pheshu PC Suite API and PC Connectivity SDK 8 2006-03-17 08:14
Link in SMS keyla Smart Messaging 1 2003-06-10 09:21
How to auto-launch application based upon incoming SMS message? ask_expert General Symbian C++ 1 2002-05-10 19:59

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia