×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    3

    Question SMS sending and receiving problem

    Hi all,

    I've made an app that communicates with a server via GPRS socket connections. It also waits for an SMS, reads and sends that data over to the server, server replies, and app sends the data from server out as an SMS.

    My problem is that once I have read an SMS, then I try sending out an SMS, the app crashes. But individually, the components work. I can't get them to function close together. I tried reading an incoming SMS and sending that out as an SMS to some other number but the app crashes. Does symbian have limitations on this? Anyone have any idea why this happens?

  2. #2
    Regular Contributor
    Join Date
    Oct 2005
    Location
    London, UK
    Posts
    235

    Re: SMS sending and receiving problem

    Im new to the symbian OS but perhaps you have to create a separate msg server. One for each session so to speak.

    Viru Doshi
    ~ No Style Without Substance ~

  3. #3
    Registered User
    Join Date
    Jan 2005
    Location
    Helsinki, Finland
    Posts
    257

    Re: SMS sending and receiving problem

    Hi,

    I don't know the specification of symbian about this issue. But there is no such limitation, I did a sms listener (a single class) which listen for sms, reads sms, forward sms, sends new sms and also delete some spesific sms. From my experience, I could say, there must not be any limitation of sending, receiving or forwarding sms. Probably you have done logical mistake in your app.

  4. #4
    Regular Contributor
    Join Date
    Jul 2005
    Posts
    89

    Re: SMS sending and receiving problem

    Quote Originally Posted by madsum
    Hi,

    I don't know the specification of symbian about this issue. But there is no such limitation, I did a sms listener (a single class) which listen for sms, reads sms, forward sms, sends new sms and also delete some spesific sms. From my experience, I could say, there must not be any limitation of sending, receiving or forwarding sms. Probably you have done logical mistake in your app.
    Hi madsum,
    Doyou have any tutorials or links to tutorials on how to read and forward incoming traditional SMS using a JME app.
    kindly respond.

    J1

  5. #5
    Registered User
    Join Date
    Jan 2005
    Location
    Helsinki, Finland
    Posts
    257

    Re: SMS sending and receiving problem

    Sorry Dude! Never work on J2ME. But I believe there should be some way. Have a look into JSR 120 and 205 which deals with SMS and MMS. You might get the answer.
    Do it now! Today will be yesterday tomorrow - MadSum

  6. #6
    Regular Contributor
    Join Date
    Oct 2004
    Location
    Tokyo,Japan
    Posts
    289

    Exclamation Re: SMS sending and receiving problem

    Madsum I have worked on SMS monitoring using the call back method HandleSessionEvent() ,

    I want to work on adding a few more features in my SMS test application ,

    can u share your experience of forward and delete SMS !

    can we change the contents of some exisiting old SMS in the device.


    Thanks & Regards
    neo

  7. #7
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,335

    Smile Re: SMS sending and receiving problem

    Hello Neo,

    We can change the content of existing SMS in device.
    And of course we can delete them too.

    I have worked for the same in Symbian c++.

    I wish i would be helpful to u.

    Regards.
    Kiran.

  8. #8
    Registered User
    Join Date
    Jan 2005
    Location
    Helsinki, Finland
    Posts
    257

    Re: SMS sending and receiving problem

    Well, it is hard to explain unless you make specific questions. Well deleting sms is quite easy. Generally it is as follows:

    void CSmsEngine:eleteL( TMsvId& aMessageId)
    {
    iSmsMtm->SwitchCurrentEntryL( aMessageId);
    TMsvId parent = iSmsMtm->Entry().Entry().Parent();

    iSmsMtm->SwitchCurrentEntryL( parent );
    iSmsMtm->Entry().DeleteL( aMessageId);
    iSmsId = 0;
    }

    Forwarding a message is nothing especial. You think forwarding a msg is just like sending a msg. But it only varies from the fact of user input. Just a matter of program logic, nothing else. Hope it helps!!!
    Do it now! Today will be yesterday tomorrow - MadSum

  9. #9
    Regular Contributor
    Join Date
    Oct 2004
    Location
    Tokyo,Japan
    Posts
    289

    Post Re: SMS sending and receiving problem

    Madsum thanks for this code snippet ,

    and kiran i may need the source code from you ,

    i hope u may be compfortable to email that to me !

    regards
    neo

  10. #10
    Registered User
    Join Date
    Jan 2008
    Posts
    1

    Re: SMS sending and receiving problem

    i m new in symbian.from where i can start?i need to send sms and receive cbs message from GSM network.plz, help me as soon as possible.

  11. #11
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,567

    Re: SMS sending and receiving problem

    Quote Originally Posted by jobed hossain rony View Post
    from where i can start?
    www.forum.nokia.com, Documentation/Symbian C++ on the left, Messaging.
    Also note that there are some SDK-s that already contain sms example(s). If you have not picked an SDK, you should visit www.forum.nokia.com/devices, and check which SDK is suitable for your particular device.

  12. #12
    Registered User
    Join Date
    Aug 2008
    Posts
    1

    Re: SMS sending and receiving problem

    Do we really have a solution to send SMS using PC? Can I have it work with my Visual Basic Application?

  13. #13
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,567

    Re: SMS sending and receiving problem

    Quote Originally Posted by yash163 View Post
    Do we really have a solution to send SMS using PC? Can I have it work with my Visual Basic Application?
    I am not entirelly sure about the details, but probably yes. www.forum.nokia.com, Tools and SDKs / All Other Tools on the left, and there search for connectivity, two neighboring hits currently.

Posting Permissions

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