| Reply | « Previous Thread | Next Thread » |
|
Hi,
I have a doubt regarding SMS reading.I am making an application that reads an incoming message and does some action depending upon the content of the SMS.But while reading the SMS I have been getting some error.When I send a message through bluetooth from my PC to the mobile,it recogonizes the incoming messsage but is not able to print the content as required. Rishabh |
| rishabhgupta |
| View Public Profile |
| Find all posts by rishabhgupta |
|
Hi Rishabh first of all welcome to forum,
Please see this page on wiki maybe this will be of some help http://wiki.forum.nokia.com/index.ph...pp_using_Pys60 I haven't tested this code as such but i think this part will be able to help you, Code:
def read_sms(id): e32.ao_sleep(0.1) # create once more an instance of the inbox() class i=inbox.Inbox() # read the content out of the message that has just arrived sms_text = str(i.content(id)) # display the content inside a pop-up note print sms_text m = i.sms_messages() # all message ID's if sms_text: messaging.sms_send(i.address(m[0]),data) I hope you are taking care of something i read here for SMS http://www.developershome.com/sms/smsIntro.asp Quote:
IDEAS is all they need but still they think only Genius can give them that.
Last edited by shubhendra : 2008-05-16 at 12:04.
|
| shubhendra |
| View Public Profile |
| Find all posts by shubhendra |
|
Thnx Shubendra for your help but the problem still exists.It is able to reconize the new message i send through bluetooth from my pc but cant print it.I tried using print command to check it but there also it prints a blank line.Is it something wrong with my way of sending the message.I am doing it by sending a file 1.txt containing 1231 to my cell using bluetooth file transfer wizard.
Please Help me I have been stuck with this problem for many days now ![]() Rishabh |
| rishabhgupta |
| View Public Profile |
| Find all posts by rishabhgupta |
|
.txt is the problem i suppose, read the just previous post of mine where i told 7 bit character encoding required.
IDEAS is all they need but still they think only Genius can give them that. |
| shubhendra |
| View Public Profile |
| Find all posts by shubhendra |
|
Quote:
!Yes, the mistake is in the form of sending SMS. You are sending a file from your PC to your Mobile inbox and not SMS. Try sending a text SMS from other Mobile and it will surely print. Do let us know if you have any further problems. Best Regards, Croozeus |
|
Ya rightly said croozeus or see this post for 7 bit encoding,
http://discussion.forum.nokia.com/fo...ad.php?t=36966 IDEAS is all they need but still they think only Genius can give them that. |
| shubhendra |
| View Public Profile |
| Find all posts by shubhendra |
|
Hey,
Thnx Guys for clearing my doubts. Cheers Rishabh |
| rishabhgupta |
| View Public Profile |
| Find all posts by rishabhgupta |
|
Can we also send MMS using Python?
Last edited by reallife47 : 2008-05-16 at 13:32.
Reason: error
|
| reallife47 |
| View Public Profile |
| Find all posts by reallife47 |
|
OfCourse, Yes!
Here is how you can send an MMS Code:
import messaging
attachment_path="E:\\Images\\picture.jpg"
messaging.mms_send("number", u"text", attachment_path)
|
|
Hi. I have been trying to implement something that would be able to produce an alert sound whatever the current profile of the mobile may be.But no success so far.Can anybody help me plz.I want to play a beep sound at loud noise irrespective of the profile hes using at that time.
Rishabh |
| rishabhgupta |
| View Public Profile |
| Find all posts by rishabhgupta |
|
Rishabh i have given a probable solution at other thread of yours "Alert Sounds" please see it.
IDEAS is all they need but still they think only Genius can give them that. |
| shubhendra |
| View Public Profile |
| Find all posts by shubhendra |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Reading SMS in Port 50000 Nokia 6275 CDMA | pmramprasath | Mobile Java General | 14 | 2009-01-07 15:04 |
| reading sms from the sms application | hatwarbabu | General Messaging | 6 | 2007-03-22 20:40 |
| problem in reading sms index | hosam2010 | PC Suite API and PC Connectivity SDK | 1 | 2005-06-12 18:39 |
| reading and replying to sms automatically | dgobin | Symbian Networking & Messaging | 11 | 2003-05-22 17:21 |