×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    19

    sending scheduled sms

    Hi,
    I am working on series 60, 2nd edition devices, I need to know how to send sms in specified date and time, for example make the sms to be sent on someone's birthday in the same way that the reminder works with.

    I have the code that sends sms immediately from sdk example (smssend) and i tried to change the entry.iDate value to the date and time i want, this works while the device is opened but if the device is closed and opened before the specified time come, the sms is sent immediatly ( i think the flags are reset), so can anybody help.
    Thanks,

  2. #2
    Super Contributor
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704

    Re: sending scheduled sms

    Hi,

    Create one engine, and autostart application which starts ur application whenever u start ur device. engine searching the database for reminders and verify with hometime. if hometime matches with reminder then send message.

    regards,
    eswar

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    19

    Re: sending scheduled sms

    Hi,
    thanks for your reply, now i implemented a CTimer active object to send the scheduled sms at specific time and date using At() function where the program is working all the time, but the result is a problem:
    if the time of sending in the database says that the sms will be sent after long time as 2 hours or next day, the sms is sent after half an hour whatever the time passed to the At(), does the At() function has a time limits? can't it executes after days?

  4. #4
    Registered User
    Join Date
    Jul 2006
    Posts
    10

    Re: sending scheduled sms

    Hi,

    Marwa plz send me the link for sdk example (sms send).

    pankaj.bhardwaj@handygo.com

  5. #5
    Registered User
    Join Date
    Aug 2006
    Posts
    12

    Re: sending scheduled sms

    hi
    can u plz elaborate the sdk example (smssend) being discussed in the question and where did u get its code from...
    kindly reply asap...
    thanx

  6. #6
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Thumbs up Re: sending scheduled sms

    Hi devloper,
    U can find the smssend application in following folder.

    C:\Symbian\8.0a\S60_2nd_FP2\Series60Ex

    Anyways what are your requirements?
    Means what do want to do with messenging?

    Regards.
    Kiran.

  7. #7
    Registered User
    Join Date
    Aug 2006
    Posts
    12

    Re: sending scheduled sms

    Quote Originally Posted by kiran10182
    Hi devloper,
    U can find the smssend application in following folder.

    C:\Symbian\8.0a\S60_2nd_FP2\Series60Ex

    Anyways what are your requirements?
    Means what do want to do with messenging?

    Regards.
    Kiran.
    hi kiran..
    thanx 4 replying..
    actually..i am building this project for my final semester and i am new to symbian or any other mobile technology...so can u plz explain as to where is this folder...n also can u guide me as to which version of sdk to download for series 60 development, nokia haz lots of links n i am confused as to where to begin...

    thanks a lot...

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

    Thumbs up Re: sending scheduled sms

    Hello Devloper,

    Download following SDK from the SDKs List.
    Series 60 2nd Edition SDK for Symbian OS, Supporting Feature Pack 2, For C++(142 MB)

    Give me yr mail Id:
    I have some SMSHandler stuff which may turn out to be useful to u.

    Do reply me on the forum first, on this thread.

    Regards.
    Kiran.

  9. #9
    Registered User
    Join Date
    Aug 2006
    Posts
    12

    Re: sending scheduled sms

    Quote Originally Posted by kiran10182
    Hello Devloper,

    Download following SDK from the SDKs List.
    Series 60 2nd Edition SDK for Symbian OS, Supporting Feature Pack 2, For C++(142 MB)

    Give me yr mail Id:
    I have some SMSHandler stuff which may turn out to be useful to u.

    Do reply me on the forum first, on this thread.

    Regards.
    Kiran.
    hi kiran...
    thanx 4 d link...i hav mailed u my email id...
    looking forward 2 ur reply..
    thanx...
    devloper

  10. #10
    Registered User
    Join Date
    Aug 2006
    Posts
    12

    Re: sending scheduled sms

    hi all........
    can anyone help me wid coding 4 sending scheduled sms...i.e when time of sending is specified by the user.....
    kindly reply...asap.
    thanx..

  11. #11
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Smile Re: sending scheduled sms

    Hello man,
    Quote Originally Posted by devloper
    hi kiran...
    thanx 4 d link...i hav mailed u my email id...
    looking forward 2 ur reply..
    thanx...
    devloper
    I have not received your mail so far. Rather i missed that out.
    Provide your mail-id once again without any fail.

    Regards.
    Kiran.

  12. #12
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    196

    Re: sending scheduled sms

    Hi,

    For all readers who are new to this area, here's a short recap:

    You can find a selection of Forum Nokia messaging examples from here
    http://www.forum.nokia.com/main/reso...xamples.html#m

    Then, to schedule a message you should, in TMsvEntry, set the following:
    SetScheduled(ETrue);
    SetSendingState(KMsvSendStateScheduled);


    Then set the iDate to the date & time you want the message to send out;
    In S60 2.x use HomeTime as a base time value - in S60 3.x use Universal Time based value.

    And, please note that, if more than one messages are scheduled with the same "send" operation( CSmsClientMtm->InvokeAsyncFunctionL(ESmsMtmCommandScheduleCopy) ), they must all have the same sending time - even if they don't they will all be set to the time of the last message in the selection ( CMsvEntrySelection ). Please refer to the SDK help for more information, for an example
    » Symbian OS v9.2 » Symbian OS reference » C++ component reference » Messaging SMS (8.1) » TSmsMtmCommand

    So if you need to schedule multiple messages with different send times you will need to schedule them individually.

  13. #13
    Registered User
    Join Date
    Aug 2006
    Posts
    12

    Re: sending scheduled sms

    Quote Originally Posted by kiran10182
    Hello man,


    I have not received your mail so far. Rather i missed that out.
    Provide your mail-id once again without any fail.

    Regards.
    Kiran.
    hi kiran..
    thanx 4 offerin help yet again..
    Last edited by devloper; 2007-01-17 at 15:05.

  14. #14
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Smile Re: sending scheduled sms

    Hello Developer,

    I shall send you SMSHandler stuffs which come up with S60 FP2 SDK which i have said in one of the posts.

    And as far as Scheduled SMS is concerned, aaumala has given really good information.

    Regards.
    Kiran.

  15. #15
    Registered User
    Join Date
    Aug 2006
    Posts
    12

    Re: sending scheduled sms

    Quote Originally Posted by aaumala
    Hi,

    For all readers who are new to this area, here's a short recap:

    You can find a selection of Forum Nokia messaging examples from here
    http://www.forum.nokia.com/main/reso...xamples.html#m

    Then, to schedule a message you should, in TMsvEntry, set the following:
    SetScheduled(ETrue);
    SetSendingState(KMsvSendStateScheduled);


    Then set the iDate to the date & time you want the message to send out;
    In S60 2.x use HomeTime as a base time value - in S60 3.x use Universal Time based value.

    And, please note that, if more than one messages are scheduled with the same "send" operation( CSmsClientMtm->InvokeAsyncFunctionL(ESmsMtmCommandScheduleCopy) ), they must all have the same sending time - even if they don't they will all be set to the time of the last message in the selection ( CMsvEntrySelection ). Please refer to the SDK help for more information, for an example
    » Symbian OS v9.2 » Symbian OS reference » C++ component reference » Messaging SMS (8.1) » TSmsMtmCommand

    So if you need to schedule multiple messages with different send times you will need to schedule them individually.
    hi aaumala..
    thanx for d useful tip...wil b tryin it out...

Similar Threads

  1. sending scheduled sms
    By marwa mohamed in forum Symbian
    Replies: 4
    Last Post: 2006-06-08, 23:00
  2. Error sending SMS
    By jorge_c in forum Multimodecards
    Replies: 0
    Last Post: 2003-10-07, 11:53
  3. SMS - "Message sending failed"
    By TheCyclops in forum Symbian
    Replies: 1
    Last Post: 2003-05-13, 06:24
  4. Replies: 1
    Last Post: 2003-04-16, 06:13
  5. CSendAs / SMS Sending
    By jimdeal in forum Symbian
    Replies: 1
    Last Post: 2002-09-04, 15:05

Posting Permissions

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